📄 cqlvalue.h
字号:
@param rhs right hand side of operator. @return Reference to this object. @throw None. <I><B>Experimental Interface</B></I><BR> */ CQLValue& operator=(const CQLValue& rhs); /** operator == compares two CQLValue objects for equality and performs type checking. @param rhs right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean operator==(const CQLValue& x) const; /** operator != compares two CQLValue objects for inequality and performs type checking. @param x Right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean operator!=(const CQLValue& x) const; /** operator <= compares two CQLValue objects to see if leftside is less than or equal to right side and performs type checking. @param x Right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean operator<=(const CQLValue& x) const; /** operator >= compares two CQLValue objects to see if leftside is greater than or equal to rightside and performs type checking. @param x Right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean operator>=(const CQLValue& x) const; /** The overload operator < compares CQLValue obects and performs type checking. @param val1 Right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean operator<(const CQLValue& val1) const; /** The overload operator > compares CQLValue obects and performs type checking. @param val1 Right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean operator>(const CQLValue& val1) const; /** This overload operator (+) concatenates the value of CQLValue objects and performs type checking. (Currently supports only CQLValue of String type.) @param x Right hand side of operator. @return Boolean. @throw None. <I><B>Experimental Interface</B></I><BR> */ CQLValue operator+(const CQLValue& x); /** Accessor for getting the type of the CQLValue. @param None. @return CQLValueType. @throw None. <I><B>Experimental Interface</B></I><BR> */ CQLValueType getValueType() const; /** Clears this object and sets its type to NULL_VALUE @param None. @return None. @throw None. <I><B>Experimental Interface</B></I><BR> */ void setNull(); /** Returns whether the value has been resolved to a primitive. @param None. @return True when value is a primitive. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean isResolved() const; /** Returns whether the CQLValue is null. @param None. @return True if CQLValue primitive value is NULL. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean isNull() const; /** This will test to determine if the CQLValue isa String contained in the cid, that identifies a class. The CQLValue must be of a type Instance or Class; Also the cid must contain a String that is a valid class name. @param cid Contains the class name. @param QueryCtx Contains query related data. @return true CQLValue isa class identified by cid. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean isa(const CQLChainedIdentifier& cid, QueryContext& QueryCtx) const; /** Tests to see if this "like" the input string. Both sides of the LIKE comparison must have a String type: the result is a Boolean type. The LIKE comparison allows a string to be tested by pattern-matching, using special characters n the right-hand-side string. See the DMTF CQL Specification for details. For Basic Query, the left-hand expression (this) may be restricted to chain, and the right-hand expression may be restricted to be a literal-string. @param inVal CQLValue to be compared. @return true CQLValue is like the passed in CQLValue. @throw None. <I><B>Experimental Interface</B></I><BR> */ Boolean like(const CQLValue& inVal) const; /** Get the ChainedIdentifier. Primitive from CQLValue @param None. @return ChainedIdentifier. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ CQLChainedIdentifier getChainedIdentifier() const; /** Get the Uint64. Primitive from CQLValue @param None. @return Uint64. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ Uint64 getUint() const; /** Get the Sint64. Primitive from CQLValue. @param None. @return Sint64. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ Sint64 getSint() const; /** Get the Real64. Primitive from CQLValue. @param None. @return Real64. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ Real64 getReal() const; /** Get the String. Primitive from CQLValue @param None. @return String. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ String getString() const; /** Get the Boolean. Primitive from CQLValue @param None. @return Boolean @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ Boolean getBool() const; /** Get the CIMDateTime. Primitive from CQLValue. @param None. @return CIMDateTime @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ CIMDateTime getDateTime() const; /** Get the CIMObjectPath. Primitive from CQLValue. @param None. @return Reference. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ CIMObjectPath getReference() const; /** Get the CIMObject. Primitive from CQLValue. @param None. @return CIMObject. @throw CQLRuntimeException. <I><B>Experimental Interface</B></I><BR> */ CIMObject getObject() const; /** Return String representation of object. @param None. @return String @throw None. <I><B>Experimental Interface</B></I><BR> */ String toString() const; /** Apply scope and class to CQLValue's chainedIdentifier. @param None. @return None. @throw None. <I><B>Experimental Interface</B></I><BR> */ void applyContext(const QueryContext& _ctx, const CQLChainedIdentifier& inCid); friend class CQLFactory;private: CQLValueRep *_rep;};/*#ifndef PEGASUS_ARRAY_T#define PEGASUS_ARRAY_T CQLValue#include <Pegasus/Common/ArrayInter.h>#undef PEGASUS_ARRAY_T#endif*/PEGASUS_NAMESPACE_END#endif#endif /* CQLVALUE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -