|
| | MGuid () |
| | GUID generator constructor, null GUID is generated. More...
|
| |
| | MGuid (const MStdString &str) |
| | Construct GUID from a given string. More...
|
| |
| | MGuid (const MGuid &other) |
| | Copy one GUID from another. More...
|
| |
| | MGuid (const RawGuidType &guid) |
| | Create GUID object from its internal in-memory representation. More...
|
| |
| | MGuid (const Muint8 *guid) |
| | Create GUID object from its internal in-memory representation. More...
|
| |
| | MGuid (const GUID &guid) |
| | Create GUID object from value of Windows specific type. More...
|
| |
|
virtual | ~MGuid () |
| | Reclaim resources allocated by the object.
|
| |
|
bool | IsNull () const |
| | Check whether the GUID is null, not generated.
|
| |
|
void | CheckIfNotNull () const |
| | Check the GUID is not NULL, otherwise throw a No Value exception.
|
| |
|
void | SetToNull () |
| | Reset the value into null, meaning there is no value present in the GUID object.
|
| |
| int | Compare (const MGuid &other) |
| | Ternary GUID comparison function. More...
|
| |
| bool | operator== (const MGuid &other) |
| | Whether the GUID objects have the same value. More...
|
| |
| bool | operator!= (const MGuid &other) |
| | Whether the GUID objects have different values. More...
|
| |
| bool | operator< (const MGuid &other) |
| | Whether the GUID object value is less than the given value. More...
|
| |
| bool | operator> (const MGuid &other) |
| | Whether the GUID object value is bigger than the given value. More...
|
| |
| bool | operator<= (const MGuid &other) |
| | Whether the GUID object value is less or equal than the given value. More...
|
| |
| bool | operator>= (const MGuid &other) |
| | Whether the GUID object value is bigger or equal than the given value. More...
|
| |
| virtual unsigned | GetEmbeddedSizeof () const |
| | This is an embedded object type, therefore return its size in bytes. More...
|
| |
|
| RawGuidType & | AsRawGuid () |
| |
| const RawGuidType & | AsRawGuid () const |
| |
|
| GUID & | AsWindowsGuid () |
| |
| const GUID & | AsWindowsGuid () const |
| |
| | operator GUID () const |
| |
|
| MStdString | AsString () const |
| |
| void | SetAsString (const MStdString &str) |
| |
|
| void | Assign (const MGuid &guid) |
| |
| MGuid & | operator= (const MGuid &guid) |
| |
| MGuid & | operator= (const RawGuidType &guid) |
| |
| MGuid & | operator= (const GUID &guid) |
| |
| MGuid & | operator= (const Muint8 *guid) |
| |
|
virtual | ~MObject () |
| | Object destructor.
|
| |
| virtual const MClass * | GetClass () const =0 |
| | Get the final class of the object. More...
|
| |
| bool | IsEmbeddedObject () const |
| | Tell if the object is of embedded kind. More...
|
| |
| SHOW_INTERNAL MVariant | Call (const MStdString &name, const MVariant ¶ms) |
| | Call the object service with parameters, given as variant. More...
|
| |
| MVariant | Call0 (const MStdString &name) |
| | Call the object service with no parameters. More...
|
| |
| MVariant | Call1 (const MStdString &name, const MVariant &p1) |
| | Call the object service with one parameter. More...
|
| |
| MVariant | Call2 (const MStdString &name, const MVariant &p1, const MVariant &p2) |
| | Call the object service with two parameter. More...
|
| |
| MVariant | Call3 (const MStdString &name, const MVariant &p1, const MVariant &p2, const MVariant &p3) |
| | Call the object service with three parameter. More...
|
| |
| MVariant | Call4 (const MStdString &name, const MVariant &p1, const MVariant &p2, const MVariant &p3, const MVariant &p4) |
| | Call the object service with four parameter. More...
|
| |
| MVariant | Call5 (const MStdString &name, const MVariant &p1, const MVariant &p2, const MVariant &p3, const MVariant &p4, const MVariant &p5) |
| | Call the object service with five parameter. More...
|
| |
| MVariant | Call6 (const MStdString &name, const MVariant &p1, const MVariant &p2, const MVariant &p3, const MVariant &p4, const MVariant &p5, const MVariant &p6) |
| | Call the object service with six parameter. More...
|
| |
| virtual MVariant | CallV (const MStdString &name, const MVariant::VariantVector ¶ms) |
| | Call the object service with parameters, given as variant vector. More...
|
| |
|
virtual bool | IsPropertyPresent (const MStdString &name) const |
| | Tell if the property with the given name exists.
|
| |
|
virtual bool | IsServicePresent (const MStdString &name) const |
| | Tell if the service with the given name exists.
|
| |
| virtual MVariant | GetProperty (const MStdString &name) const |
| | Get the property value using name of the property. More...
|
| |
| virtual void | SetProperty (const MStdString &name, const MVariant &value) |
| | Set the property using name of the property, and value. More...
|
| |
| virtual MStdStringVector | GetAllPropertyNames () const |
| | Return the list of publicly available properties, persistent or not. More...
|
| |
| virtual MStdStringVector | GetAllPersistentPropertyNames () const |
| | Return the list of persistent properties. More...
|
| |
| virtual void | SetPersistentPropertiesToDefault () |
| | Set the persistent properties of the object to their default values. More...
|
| |
| virtual MVariant | GetPersistentPropertyDefaultValue (const MStdString &name) const |
| | Get the default value of persistent property with the name given. More...
|
| |
| virtual void | SetPersistentPropertyToDefault (const MStdString &name) |
| | Set the persistent property with the name given to default value. More...
|
| |
|
virtual const char * | GetType () const |
| | Get the name of the type for the object (could be the same as class name).
|
| |
| virtual void | SetType (const MStdString &) |
| | Intentionally, it will set the name of the type for the object, but the service will not allow setting the name to anything other than the current name. More...
|
| |
| virtual void | Validate () |
| | Validate internal structures of the object. More...
|
| |
Global identifier (GUID) object.
The class handles Microsoft style GUID objects, as used by Windows platform. The implementation is generic, and it behaves in the same way in non-Microsoft platforms.
String representation of GUID class has a fixed format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
where x is a hexadecimal digit. Only this exact string format is consumed at initialization, and produced by AsString.