version 1.1.2.23, 2009/10/13 09:36:35
|
version 1.1.2.27, 2009/10/21 12:35:25
|
|
|
const SCMBUnion** keyvalue) const; | const SCMBUnion** keyvalue) const; |
| |
/** | /** |
* Determines whether the object has been initialized. |
* Determines whether the c++ object has been initialized. |
* @return True if the object has not been initialized, false otherwise. |
* @return True if the c++ object has not been initialized, false otherwise. |
*/ | */ |
Boolean isUninitialized( ) const {return (0 == inst.base); }; | Boolean isUninitialized( ) const {return (0 == inst.base); }; |
| |
/** | /** |
|
* Determines whether the instance is used as a class container. |
|
* @return True if the instance is used as a class container only. |
|
*/ |
|
Boolean getIsClassOnly( ) const |
|
{ |
|
return inst.hdr->flags.isClassOnly; |
|
} |
|
|
|
/** |
|
* To mark if this instance is a class only container. |
|
*/ |
|
void setIsClassOnly( Boolean b ) |
|
{ |
|
inst.hdr->flags.isClassOnly = b; |
|
} |
|
|
|
/** |
* Determies if two objects are referencing to the same instance | * Determies if two objects are referencing to the same instance |
* @return True if the objects are referencing to the some instance. | * @return True if the objects are referencing to the some instance. |
*/ | */ |
|
|
void setHostName(const char* hostName); | void setHostName(const char* hostName); |
| |
/** | /** |
|
* Sets the provided host name unchecked at the instance. |
|
* @param hostName The host name as UTF8. |
|
* @param len The strlen of the host name. |
|
*/ |
|
void setHostName_l(const char* hostName, Uint32 len); |
|
|
|
/** |
* Get the host name of the instance. The caller has to make a copy ! | * Get the host name of the instance. The caller has to make a copy ! |
* @return The host name as UTF8. | * @return The host name as UTF8. |
*/ | */ |
|
|
| |
/** | /** |
* Get the host name of the instance. | * Get the host name of the instance. |
* @param Return length of result string. |
* @param Return strlen of result string. |
* @return The class name as UTF8. | * @return The class name as UTF8. |
*/ | */ |
const char* getHostName_l(Uint64 & length) const; | const char* getHostName_l(Uint64 & length) const; |
|
|
| |
/** | /** |
* Get the class name of the instance. The caller has to make a copy ! | * Get the class name of the instance. The caller has to make a copy ! |
* @param Return length of result string. |
* @param Return strlen of result string. |
* @return The class name as UTF8. | * @return The class name as UTF8. |
*/ | */ |
const char* getClassName_l(Uint64 & length) const; | const char* getClassName_l(Uint64 & length) const; |
|
|
void setNameSpace(const char* nameSpace); | void setNameSpace(const char* nameSpace); |
| |
/** | /** |
|
* Sets the provided name space name unchecked at the instance. |
|
* By caling this function the instance is in an inconsitacne state and |
|
* is maked as isCompromised. |
|
* @param nameSpaceName The name space name as UTF8. |
|
* @param len The strlen of the name space. |
|
*/ |
|
void setNameSpace_l(const char* nameSpace, Uint32 len); |
|
|
|
/** |
* Get the name space of the instance. The caller has to make a copy ! | * Get the name space of the instance. The caller has to make a copy ! |
* @return The name space as UTF8. | * @return The name space as UTF8. |
*/ | */ |
|
|
| |
/** | /** |
* Get the class name of the instance. The caller has to make a copy ! | * Get the class name of the instance. The caller has to make a copy ! |
* @param Return length of result string. |
* @param Return strlen of result string. |
* @return The class name as UTF8. | * @return The class name as UTF8. |
*/ | */ |
const char* getNameSpace_l(Uint64 & length) const; | const char* getNameSpace_l(Uint64 & length) const; |