⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cimqualifierdecl.h

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 H
📖 第 1 页 / 共 2 页
字号:
    Boolean identical(const CIMConstQualifierDecl& x) const;    /**        Makes a deep copy of the qualifier declaration.  This creates a new        copy of all the qualifier declaration attributes.        @return A new copy of the CIMQualifierDecl object.        @exception UninitializedObjectException If the object is not            initialized.    */    CIMQualifierDecl clone() const;private:    CIMQualifierDecl(CIMQualifierDeclRep* rep);    void _checkRep() const;    CIMQualifierDeclRep* _rep;    friend class CIMConstQualifierDecl;    friend class CIMClassRep;    friend class XmlWriter;    friend class MofWriter;};//////////////////////////////////////////////////////////////////////////////////// CIMConstQualifierDecl///////////////////////////////////////////////////////////////////////////////////**    The CIMConstQualifierDecl class provides a const interface to a    CIMQualifierDecl object.  This class is needed because the shared    representation model used by CIMQualifierDecl does not prevent    modification to a const CIMQualifierDecl object.  Note that the value    of a CIMConstQualifierDecl object could still be modified by a    CIMQualifierDecl object that refers to the same data copy.*/class PEGASUS_COMMON_LINKAGE CIMConstQualifierDecl{public:    /**        Constructs an uninitialized CIMConstQualifierDecl object.  A method        invocation on an uninitialized object will result in the throwing        of an UninitializedObjectException.  An uninitialized object may        be converted into an initialized object only by using the assignment        operator with an initialized object.    */    CIMConstQualifierDecl();    /**        Constructs a CIMConstQualifierDecl object from the value of a        specified CIMConstQualifierDecl object, so that both objects refer        to the same data copy.        @param x The CIMConstQualifierDecl object from which to construct a            new CIMConstQualifierDecl object.    */    CIMConstQualifierDecl(const CIMConstQualifierDecl& x);    /**        Constructs a CIMConstQualifierDecl object from the value of a        specified CIMQualifierDecl object, so that both objects refer        to the same data copy.        @param x The CIMQualifierDecl object from which to construct a            new CIMConstQualifierDecl object.    */    CIMConstQualifierDecl(const CIMQualifierDecl& x);    /**        Constructs a CIMConstQualifierDecl object with the specified        attributes.        @param name A CIMName specifying the name of the qualifier.        @param value A CIMValue specifying the default qualifier value, and            implicitly defining the qualifier type and whether the qualifier            is an Array qualifier.        @param scope A CIMScope indicating the qualifier scope.        @param flavor A CIMFlavor indicating the qualifier flavors.        @param arraySize A Uint32 indicating the size of the Array, if the            qualifier is an Array qualifier.  The default value of zero            indicates a variable size array.        @exception UninitializedObjectException If the qualifier name is null.    */    CIMConstQualifierDecl(        const CIMName& name,         const CIMValue& value,         const CIMScope & scope,        const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS),        Uint32 arraySize = 0);    /**        Destructs the CIMConstQualifierDecl object.    */    ~CIMConstQualifierDecl();    /**        Assigns the value of the specified CIMConstQualifierDecl object to        this object, so that both objects refer to the same data copy.        @param x The CIMConstQualifierDecl object from which to assign this            CIMConstQualifierDecl object.        @return A reference to this CIMConstQualifierDecl object.    */    CIMConstQualifierDecl& operator=(const CIMConstQualifierDecl& x);    /**        Assigns the value of the specified CIMQualifierDecl object to        this object, so that both objects refer to the same data copy.        @param x The CIMQualifierDecl object from which to assign this            CIMConstQualifierDecl object.        @return A reference to this CIMConstQualifierDecl object.    */    CIMConstQualifierDecl& operator=(const CIMQualifierDecl& x);    /**        Gets the name of the qualifier.        @return A CIMName containing the name of the qualifier.        @exception UninitializedObjectException If the object is not            initialized.    */    const CIMName& getName() const;    /**        Gets the qualifier type.        @return A CIMType containing the qualifier type.        @exception UninitializedObjectException If the object is not            initialized.    */    CIMType getType() const;    /**        Checks whether the qualifier is an Array qualifier.        @return True if the qualifier is an Array qualifier, false otherwise.        @exception UninitializedObjectException If the object is not            initialized.    */    Boolean isArray() const;    /**        Gets the qualifier default value.        @return A CIMValue containing the qualifier default value.        @exception UninitializedObjectException If the object is not            initialized.    */    const CIMValue& getValue() const;    /**        Gets the qualifier scope.        @return A CIMScope containing the qualifier scope.        @exception UninitializedObjectException If the object is not            initialized.    */    const CIMScope & getScope() const;    /**        Gets the qualifier flavors.        @return A CIMFlavor containing the qualifier flavor settings.        @exception UninitializedObjectException If the object is not            initialized.    */    const CIMFlavor & getFlavor() const;    /**        Gets the array size for the qualifier.        @return Uint32 array size.        @exception UninitializedObjectException If the object is not            initialized.    */    Uint32 getArraySize() const;    /**        Determines whether the object has been initialized.        @return True if the object has not been initialized, false otherwise.    */    Boolean isUninitialized() const;    /**        Compares the qualifier declaration with another qualifier declaration.        @param x The CIMConstQualifierDecl to be compared.        @return True if this qualifier declaration is identical to the one            specified, false otherwise.        @exception UninitializedObjectException If either of the objects            is not initialized.    */    Boolean identical(const CIMConstQualifierDecl& x) const;    /**        Makes a deep copy of the qualifier declaration.  This creates a new        copy of all the qualifier declaration attributes.        @return A CIMQualifierDecl object with a separate copy of the            CIMConstQualifierDecl object.        @exception UninitializedObjectException If the object is not            initialized.    */    CIMQualifierDecl clone() const;private:    void _checkRep() const;    CIMQualifierDeclRep* _rep;    friend class CIMQualifierDecl;    friend class XmlWriter;    friend class MofWriter;};#define PEGASUS_ARRAY_T CIMQualifierDecl# include <Pegasus/Common/ArrayInter.h>#undef PEGASUS_ARRAY_TPEGASUS_NAMESPACE_END#endif /* Pegasus_QualifierDecl_h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -