VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtAttributeInfo Class Reference
Inheritance diagram for makVrf::DtAttributeInfo:
Inheritance graph
[legend]

Public Member Functions

 DtAttributeInfo (const DtEntityMapperKey &key)
 DtAttributeInfo (const DtAttributeInfo &orig)
virtual void addAttributeItems (const DtlObjPtr &tailPtr)
 Parses out the list of supplied items to add individual items and bit positions for them.
virtual void addAttributeItems (xmlNodePtr)
 Parses out the list of supplied items to add individual items and bit positions for them.
virtual void valuesFromMask (unsigned int mask, DtAttributeValues &result) const
 Returns a list of attributes and values (with bit position) given the bit mask.
virtual const std::vector
< DtAttributeValueInfo > & 
attributeValues () const
DtAttributeInfoclone () const
virtual void parseAttribute (const DtlObjPtr &attribute)
 Parse out info for the specified attribute.
virtual void parseAttribute (xmlNodePtr)
 Parse out info for the specified attribute.
virtual void resolveXRefValues (const std::map< std::string, DtAttributeValueInfo::AttributeInformation > &xrefValues)
 If there are xref references resolve them here.
- Public Member Functions inherited from makVrf::DtEntityMapperKey
 DtEntityMapperKey ()
 DtEntityMapperKey (const char *p)
 DtEntityMapperKey (const DtEntityType &, int force=-1)
 DtEntityMapperKey (int force, int kind, int domain, int country, int category, int subcategory, int specific, int extra)
 DtEntityMapperKey (int force, const DtEntityType &)
 DtEntityMapperKey (const DtEntityMapperKey &orig)
 Copy constructor.
virtual ~DtEntityMapperKey ()
 Destructor.
DtEntityMapperKeyoperator= (const DtEntityMapperKey &rhs)
 Assignment operator.
DtEntityMapperKeyoperator= (const char *rhs)
 Assignment operator.
const std::string & string () const
int force () const
void setForce (int force)
bool operator== (const DtEntityMapperKey &rhs) const
 == returns 1 if they are equal, 0 if they are not equal
virtual bool matchPattern (const DtEntityMapperKey &pat) const
bool operator!= (const DtEntityMapperKey &rhs) const
 != returns 0 if they are equal, nonzero if they are not equal
bool operator< (const DtEntityMapperKey &rhs) const
 == returns 1 if rhs is < this else it returns 0
bool operator> (const DtEntityMapperKey &rhs) const
 == returns 1 if rhs is > this else it returns 0
intoperator[] (int)
const int operator[] (int) const
 operator DtObjectType () const
virtual bool exactMatch (const DtEntityMapperKey &) const
 Returns true only on an exact match (no wildcarding)

Protected Member Functions

virtual void insertAttributeValue (const DtAttributeValueInfo &value)
 Inserts a new DtAttributeValueInfo into the myAttributeValues list in bit position order.

Protected Attributes

std::vector< DtAttributeValueInfomyAttributeValues
- Protected Attributes inherited from makVrf::DtEntityMapperKey
std::string myStringRep
int myForce

Additional Inherited Members

- Static Public Member Functions inherited from makVrf::DtEntityMapperKey
static bool isIed (const DtEntityType &t)
- Static Public Attributes inherited from makVrf::DtEntityMapperKey
static const int DtAnyMatch

Constructor & Destructor Documentation

makVrf::DtAttributeInfo::DtAttributeInfo ( const DtEntityMapperKey key)
makVrf::DtAttributeInfo::DtAttributeInfo ( const DtAttributeInfo orig)
inline

Member Function Documentation

virtual void makVrf::DtAttributeInfo::addAttributeItems ( const DtlObjPtr &  tailPtr)
virtual

Parses out the list of supplied items to add individual items and bit positions for them.

virtual void makVrf::DtAttributeInfo::addAttributeItems ( xmlNodePtr  )
virtual

Parses out the list of supplied items to add individual items and bit positions for them.

virtual void makVrf::DtAttributeInfo::valuesFromMask ( unsigned int  mask,
DtAttributeValues result 
) const
virtual

Returns a list of attributes and values (with bit position) given the bit mask.

Note that the incoming result list will be cleared before new values are put in.

virtual const std::vector<DtAttributeValueInfo>& makVrf::DtAttributeInfo::attributeValues ( ) const
virtual
DtAttributeInfo* makVrf::DtAttributeInfo::clone ( ) const
inline
virtual void makVrf::DtAttributeInfo::parseAttribute ( const DtlObjPtr &  attribute)
virtual

Parse out info for the specified attribute.

The attribute is a list that contains the main title, the items that can be set, and the bit field

virtual void makVrf::DtAttributeInfo::parseAttribute ( xmlNodePtr  )
virtual

Parse out info for the specified attribute.

The attribute is a list that contains the main title, the items that can be set, and the bit field

virtual void makVrf::DtAttributeInfo::resolveXRefValues ( const std::map< std::string, DtAttributeValueInfo::AttributeInformation > &  xrefValues)
virtual

If there are xref references resolve them here.

virtual void makVrf::DtAttributeInfo::insertAttributeValue ( const DtAttributeValueInfo value)
protectedvirtual

Inserts a new DtAttributeValueInfo into the myAttributeValues list in bit position order.

Member Data Documentation

std::vector<DtAttributeValueInfo> makVrf::DtAttributeInfo::myAttributeValues
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)