class CCL::Boxed::UID

#include <boxedtypes.h>

class UID:
    public CCL::Object,
    public CCL::UID,
    public CCL::IBoxedUID
{
public:
    // typedefs

    typedef ValueHelper <Boxed::UID, CCL::UID> Value;

    // fields

     IBoxedUID;

    // methods

    static DECLARE_CLASS (UID, Object) DECLARE_METHOD_NAMES (UID) UID (CCL UIDBytes fromVariant (CCL::VariantRef var);
    UID& operator = (CCL::UIDRef uid);
    String asString () const;
    MutableCString asCString () const;
    virtual void CCL_API assign (CCL::UIDRef uid);
    virtual void CCL_API copyTo (UIDBytes& uid) const;
    virtual int getHashCode (int size) const;
    virtual bool equals (const Object& obj) const;
    virtual bool load (const Storage& storage);
    virtual bool save (const Storage& storage) const;
    virtual bool toString (CCL::String& string, int flags = 0) const;
};

Inherited Members

public:
    // typedefs

    typedef CStringRef MemberID;

    // enums

    enum Format;

    // fields

    uint32 data1;
    uint16 data2;
    uint16 data3;
    uint8 data4 [8];

    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;
    Unknown& operator = (const Unknown&);
    unsigned int getRetainCount () const;
    virtual Object*CCL_API revealObject (const void* moduleAddress) = 0;
    virtual void CCL_API addObserver (IObserver* observer) = 0;
    virtual void CCL_API removeObserver (IObserver* observer) = 0;
    virtual void CCL_API signal (MessageRef msg) = 0;
    virtual void CCL_API deferSignal (IMessage* msg) = 0;
    static ISubject void addObserver (IUnknown* unknown, IObserver* observer);
    static void removeObserver (IUnknown* unknown, IObserver* observer);
    virtual void CCL_API notify (ISubject* subject, MessageRef msg) = 0;

    static IObserver void notify (
        IUnknown* unknown,
        ISubject* subject,
        MessageRef msg
    );

    virtual const ITypeInfo&CCL_API getTypeInfo () const = 0;
    virtual tbool CCL_API getProperty (Variant& var, MemberID propertyId) const = 0;
    virtual tbool CCL_API setProperty (MemberID propertyId, const Variant& var) = 0;
    virtual tbool CCL_API getPropertyNames (IPropertyCollector& collector) const = 0;
    virtual tbool CCL_API invokeMethod (Variant& returnValue, MessageRef msg) = 0;
    DECLARE_BASE_CLASS (Object);
    virtual void CCL_API removeObserver (IObserver* observer);
    virtual void CCL_API signal (MessageRef msg);
    virtual void CCL_API deferSignal (IMessage* msg);
    virtual void deferChanged ();
    virtual void CCL_API notify (ISubject* subject, MessageRef msg);
    virtual bool equals (const Object& obj) const;
    virtual int compare (const Object& obj) const;
    virtual bool load (const Storage& storage);
    virtual bool save (const Storage& storage) const;
    virtual bool save (const OutputStorage& storage) const;
    virtual bool toString (String& string, int flags = 0) const;
    virtual int getHashCode (int size) const;
    IUnknown* asUnknown ();
    static void addGarbageCollected (Object* obj, bool globalScope = true);
    static void deferDestruction (Object* obj);
    static const void* getModuleAddress ();
    bool isValid () const;
    bool equals (UIDRef uid) const;
    UIDBytes& prepare ();
    UIDBytes& assign (UIDRef uid);
    UIDBytes& operator = (UIDRef uid);
    bool operator == (UIDRef uid) const;
    bool operator != (UIDRef uid) const;
    void toCString (char* cString, int cStringSize, int format = kStandard) const;
    bool fromCString (CStringPtr cString, int format = kStandard);
    static CStringPtr getFormatString (int format);
    bool generate ();
    uint32 hash () const;
    void toCString (MutableCString& cString, int format = kStandard) const;
    void toString (String& string, int format = kStandard) const;
    bool fromString (StringRef string, int format = kStandard);
    void toBuffer (UIDBuffer& buffer) const;
    bool fromBuffer (const UIDBuffer& buffer);
    void toCString (char* cString, int cStringSize, int format = kStandard) const;
    virtual void CCL_API assign (UIDRef uid) = 0;
    virtual void CCL_API copyTo (UIDBytes& uid) const = 0;