Download Inheritance - The Open Group
Transcript
operator= (const char* objectName) Same as set() above except that it is an assignment operator getHost () const const String& Accessor. setHost (const String& host) void Modifier. getNameSpace () const const String& Accessor setNameSpace (const String& nameSpace) void Sets the namespace component. getClassName () const const String& Accessor. setClassName (const String& className) void Sets the class name component to the following string. const Array<KeyBinding> & getKeyBindings () const Accessor. setKeyBindings (const Array<KeyBinding>& keyBindings) void Modifier. toString () const String Returns the object name represented by this reference. identical (const CIMReference& x) const Boolean Returns true if this reference is identical to the one given by the x argument toXml (Array<Sint8>& out) const void Encodes this object as XML. print (std::ostream& os = std::cout) const void Prints the XML encoding of this objet makeHashCode () const Uint32 Generates hash code for the given reference. CIMReference& CIMReference() Default constructor. CIMReference(const CIMReference& x) Copy constructor. CIMReference(const String& objectName) Initializes this object from a CIM object name. CIMReference(const char* objectName) Initializes this object from a CIM object name (char* version). CIMReference( const String& host, const String& nameSpace, const String& className, const KeyBindingArray& keyBindings = KeyBindingArray()) Constructs a CIMReference from constituent elements. Parameters: host - - name of host (e.g., "nemesis-8888"). nameSpace - - namespace (e.g., "root/cimv20"). className - - name of a class (e.g., "MyClass"). keyBindings - - an array of KeyBinding objects. virtual ~CIMReference() http://donald/MSB/Manual/CIMReference.html (5 of 7) [5/5/2001 8:55:49 AM]