![]() |
v2.40
|
|
Represents a quantity container. More...
Public Member Functions | |
HRESULT | Contains ([in] GUID id, [out, retval] VARIANT_BOOL *pContains) |
Indicates whether the object supports the quantity specified by the identifier. | |
HRESULT | ContainsS ([in] BSTR id, [out, retval] VARIANT_BOOL *pContains) |
Same as IQuantityContainer::Contains, but accepting GUID as a string. | |
HRESULT | Get ([in] GUID id, [out, retval] IQuantity **ppQuantity) |
Returns the quantity specified by the identifier. | |
HRESULT | GetS ([in] BSTR id, [out, retval] IQuantity **ppQuantity) |
Same as IQuantityContainer::Get, but accepting GUID as a string. | |
Represents a quantity container.
A quantity container is basically any object type that has quantities. This interface can be obtained from model objects and layers.
HRESULT Contains | ( | [in] GUID | id, |
[out, retval] VARIANT_BOOL * | pContains ) |
Indicates whether the object supports the quantity specified by the identifier.
[in] | id | Identifier of the quantity. |
[out] | pContains | TRUE if the object supports the quantity; otherwise returns FALSE. |
HRESULT Get | ( | [in] GUID | id, |
[out, retval] IQuantity ** | ppQuantity ) |
Returns the quantity specified by the identifier.
[in] | id | Identifier of the quantity. |
[out] | ppQuantity | The requested quantity of the object, or nullptr if the quantity is not supported. |