LTKCPP-- LLRP Toolkit C Plus Plus Library
Public Member Functions
LLRP::CParameter Class Reference

Base Class for All LLRP LTK Parameters. More...

#include <ltkcpp_base.h>

Inheritance diagram for LLRP::CParameter:
LLRP::CElement LLRP::CElement

List of all members.

Public Member Functions

virtual llrp_bool_t isAllowedIn (const CTypeDescriptor *pEnclosingTypeDescriptor) const
 Validate whether the element is allowed as a base type in the enclosing element.
llrp_bool_t isAllowedExtension (const CTypeDescriptor *pEnclosingTypeDescriptor)
 Validate whether the element is allowed as an extension in the enclosing element.
virtual llrp_bool_t isAllowedIn (const CTypeDescriptor *pEnclosingTypeDescriptor) const
 Validate whether the element is allowed as a base type in the enclosing element.
llrp_bool_t isAllowedExtension (const CTypeDescriptor *pEnclosingTypeDescriptor)
 Validate whether the element is allowed as an extension in the enclosing element.

Detailed Description

Base Class for All LLRP LTK Parameters.

Definition at line 1125 of file Library/ltkcpp_base.h.


Member Function Documentation

llrp_bool_t LLRP::CParameter::isAllowedExtension ( const CTypeDescriptor pEnclosingTypeDescriptor)

Validate whether the element is allowed as an extension in the enclosing element.

Parameters:
[in]pEnclosingTypeDescriptorA pointer to the enclosing type
Returns:
TRUE if the element is allowed to be encoded within the EnclosingElement
FALSE if the element is not allowed to be encoded within the EnclosingElement

Definition at line 127 of file ltkcpp_element.cpp.

References isAllowedIn(), LLRP::CTypeDescriptor::m_bIsMessage, LLRP::CElement::m_pType, LLRP::CTypeDescriptor::m_pVendorDescriptor, and LLRP::CTypeDescriptor::m_TypeNum.

llrp_bool_t LLRP::CParameter::isAllowedExtension ( const CTypeDescriptor pEnclosingTypeDescriptor)

Validate whether the element is allowed as an extension in the enclosing element.

Parameters:
[in]pEnclosingTypeDescriptorA pointer to the enclosing type
Returns:
TRUE if the element is allowed to be encoded within the EnclosingElement
FALSE if the element is not allowed to be encoded within the EnclosingElement
virtual llrp_bool_t LLRP::CParameter::isAllowedIn ( const CTypeDescriptor pEnclosingTypeDescriptor) const [virtual]

Validate whether the element is allowed as a base type in the enclosing element.

Parameters:
[in]pEnclosingTypeDescriptorA pointer to the enclosing type
Returns:
TRUE if the element is allowed to be encoded within the EnclosingElement
FALSE if the element is not allowed to be encoded within the EnclosingElement
llrp_bool_t LLRP::CParameter::isAllowedIn ( const CTypeDescriptor pEnclosingTypeDescriptor) const [virtual]

Validate whether the element is allowed as a base type in the enclosing element.

Parameters:
[in]pEnclosingTypeDescriptorA pointer to the enclosing type
Returns:
TRUE if the element is allowed to be encoded within the EnclosingElement
FALSE if the element is not allowed to be encoded within the EnclosingElement

Definition at line 120 of file ltkcpp_element.cpp.

Referenced by isAllowedExtension().


The documentation for this class was generated from the following files: