EpcTools
An event based multi-threaded C++ development framework.
Public Member Functions | List of all members
FDDictionaryEntryVendor Class Reference

A dictionary entry object associated with a vendor. More...

#include <efd.h>

Inheritance diagram for FDDictionaryEntryVendor:
FDDictionaryEntry

Public Member Functions

 FDDictionaryEntryVendor (const char *name, struct dictionary *dict=NULL)
 Class constructor. More...
 
 FDDictionaryEntryVendor (vendor_id_t vendorid, struct dictionary *dict=NULL)
 Class constructor. More...
 
 FDDictionaryEntryVendor (const FDDictionaryEntryApplication &app, struct dictionary *dict=NULL)
 Class constructor. More...
 
const char * getName ()
 Returns the name of the vendor. More...
 
vendor_id_t getId ()
 Returns the vendor ID associated with the vendor. More...
 
- Public Member Functions inherited from FDDictionaryEntry
struct dictionary * getDictionary () const
 Returns the freeDiameter dictionary structure pointer. More...
 
struct dict_object * getEntry () const
 Returns the freeDiameter dictionary entry structure pointer. More...
 
Bool isValid ()
 Returns true if the dictionary entry is valid. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FDDictionaryEntry
 FDDictionaryEntry ()
 Class constructor. More...
 
 FDDictionaryEntry (const Void *what, enum dict_object_type type, Int criteria, struct dictionary *dict=NULL)
 Class constructor. More...
 
Void init (const Void *what, enum dict_object_type type, Int criteria, struct dictionary *dict=NULL)
 initializes an object created with the default constructor. More...
 
Void init (struct dict_object *de, struct dictionary *dict=NULL)
 intializes an object using an existing freeDiameter dictionary entry. More...
 
virtual ~FDDictionaryEntry ()
 Class destructor. More...
 

Detailed Description

A dictionary entry object associated with a vendor.

Constructor & Destructor Documentation

◆ FDDictionaryEntryVendor() [1/3]

FDDictionaryEntryVendor::FDDictionaryEntryVendor ( const char *  name,
struct dictionary *  dict = NULL 
)

Class constructor.

Parameters
namethe name of the vendor to search for.
dictthe dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched.
Exceptions
FDException

◆ FDDictionaryEntryVendor() [2/3]

FDDictionaryEntryVendor::FDDictionaryEntryVendor ( vendor_id_t  vendorid,
struct dictionary *  dict = NULL 
)

Class constructor.

Parameters
vendoridthe ID of the vendor to search for.
dictthe dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched.
Exceptions
FDException

◆ FDDictionaryEntryVendor() [3/3]

FDDictionaryEntryVendor::FDDictionaryEntryVendor ( const FDDictionaryEntryApplication app,
struct dictionary *  dict = NULL 
)

Class constructor.

Parameters
appthe application dictionary entry to retrieve the vendor for.
dictthe dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched.
Exceptions
FDException

Member Function Documentation

◆ getId()

vendor_id_t FDDictionaryEntryVendor::getId ( )
inline

Returns the vendor ID associated with the vendor.

Returns
the vendor ID of the vendor.

◆ getName()

const char* FDDictionaryEntryVendor::getName ( )
inline

Returns the name of the vendor.

Returns
the name of the vendor.

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