sipxtacklib  Version 3.3
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
ProvisioningAttrList Class Reference

#include <ProvisioningAttrList.h>

Public Types

enum  eAttributeType {
  INT,
  BOOL,
  STRING
}
 

Public Member Functions

 ProvisioningAttrList (void)
 Default constructor. More...
 
 ProvisioningAttrList (UtlHashMap *pData)
 Reference constructor. More...
 
virtual ~ProvisioningAttrList ()
 Destructor. More...
 
bool setAttribute (const char *pKey, UtlSList *pValue)
 
bool setAttribute (const char *pKey, const UtlString &rValue)
 
bool setAttribute (const char *pKey, const char *pValue)
 
bool setAttribute (const char *pKey, int value)
 
bool setAttribute (const char *pKey, bool value)
 
UtlContainable * getAttribute (const char *pKey)
 
UtlContainable * operator[] (const char *pKey)
 
bool getAttribute (const char *pKey, UtlString &rValue)
 
bool getAttribute (const char *pKey, const char *&prValue)
 
bool getAttribute (const char *pKey, int &rValue)
 
bool getAttribute (const char *pKey, bool &rValue)
 
UtlHashMap * getData (void)
 
void dumpAttributes (void)
 
bool attributeMissing (const char *pKey)
 
bool attributePresent (const char *pKey)
 
void validateAttribute (const char *pKey, eAttributeType type, bool ignoreMissing=false)
 
void validateAttributeType (const char *pKey, eAttributeType type)
 

Protected Member Functions

void deleteAttrElements (UtlContainable *pAttrElements)
 

Static Protected Member Functions

static void dumpAttributes (const UtlContainable *pAttribute)
 

Member Enumeration Documentation

Enumerator
INT 
BOOL 
STRING 

Constructor & Destructor Documentation

Default constructor.

ProvisioningAttrList ( UtlHashMap *  pData)

Reference constructor.

~ProvisioningAttrList ( )
virtual

Destructor.

Member Function Documentation

bool setAttribute ( const char *  pKey,
UtlSList *  pValue 
)
bool setAttribute ( const char *  pKey,
const UtlString &  rValue 
)
bool setAttribute ( const char *  pKey,
const char *  pValue 
)
bool setAttribute ( const char *  pKey,
int  value 
)
bool setAttribute ( const char *  pKey,
bool  value 
)
UtlContainable * getAttribute ( const char *  pKey)
UtlContainable* operator[] ( const char *  pKey)
inline
bool getAttribute ( const char *  pKey,
UtlString &  rValue 
)
bool getAttribute ( const char *  pKey,
const char *&  prValue 
)
bool getAttribute ( const char *  pKey,
int &  rValue 
)
bool getAttribute ( const char *  pKey,
bool &  rValue 
)
UtlHashMap* getData ( void  )
inline
void dumpAttributes ( void  )
bool attributeMissing ( const char *  pKey)
bool attributePresent ( const char *  pKey)
void validateAttribute ( const char *  pKey,
eAttributeType  type,
bool  ignoreMissing = false 
)
void validateAttributeType ( const char *  pKey,
eAttributeType  type 
)
void deleteAttrElements ( UtlContainable *  pAttrElements)
protected
void dumpAttributes ( const UtlContainable *  pAttribute)
staticprotected

sipXtackLib home page