#include <Capabilities.h>
Collaboration diagram for ACE_Capabilities:

| Public Types | |
| typedef ACE_Hash_Map_Manager_Ex< ACE_TString, ACE_CapEntry *, ACE_Hash< ACE_TString >, ACE_Equal_To< ACE_TString >, ACE_Null_Mutex > | CAPABILITIES_MAP | 
| Public Member Functions | |
| ACE_Capabilities (void) | |
| The Constructor. | |
| ~ACE_Capabilities (void) | |
| The Destructor. | |
| int | getval (const ACE_TCHAR *ent, ACE_TString &val) | 
| Get a string entry. | |
| int | getval (const ACE_TCHAR *ent, int &val) | 
| Get an integer entry. | |
| int | getent (const ACE_TCHAR *fname, const ACE_TCHAR *name) | 
| Protected Member Functions | |
| const ACE_TCHAR * | parse (const ACE_TCHAR *buf, int &cap) | 
| Parse an integer property. | |
| const ACE_TCHAR * | parse (const ACE_TCHAR *buf, ACE_TString &cap) | 
| Parse a string property. | |
| int | fillent (const ACE_TCHAR *ent) | 
| Fill the ACE_Capabilities with description in ent. | |
| int | parseent (const ACE_TCHAR *name, ACE_TCHAR *line) | 
| Parse a cap entry. | |
| int | getline (FILE *fp, ACE_TString &line) | 
| Get a line from FILE input stream. | |
| int | is_entry (const ACE_TCHAR *name, const ACE_TCHAR *line) | 
| Is a valid entry. | |
| void | resetcaps (void) | 
| Reset the set of capabilities. | |
| Private Attributes | |
| CAPABILITIES_MAP | caps_ | 
| This is the set of ACE_CapEntry. | |
This is a container class for ACE Capabilities values. Currently exist three different capability values: <ace_intcapentry> (integer), <ace_boolcapentry> (bool) and <ace_stringcapentry> (String). An <ace_capabilities> is a unordered set of pair = (<string>, <ace_capentry> *). Where the first component is the name of capability and the second component is a pointer to the capability value container. A <file> is a container for <ace_capabilities>, the <ace_capabilities> has a name in the file, as a termcap file.
| 
 | 
| 
 | 
| 
 | 
| The Constructor. 
 | 
| 
 | 
| The Destructor. 
 | 
| 
 | 
| Fill the ACE_Capabilities with description in ent. 
 | 
| 
 | ||||||||||||
| Get the ACE_Capabilities name from FILE fname and load the associated capabitily entries in map. | 
| 
 | ||||||||||||
| Get a line from FILE input stream. 
 | 
| 
 | ||||||||||||
| Get an integer entry. 
 | 
| 
 | ||||||||||||
| Get a string entry. 
 | 
| 
 | ||||||||||||
| Is a valid entry. 
 | 
| 
 | ||||||||||||
| Parse a string property. 
 | 
| 
 | ||||||||||||
| Parse an integer property. 
 | 
| 
 | ||||||||||||
| Parse a cap entry. 
 | 
| 
 | 
| Reset the set of capabilities. 
 | 
| 
 | 
| This is the set of ACE_CapEntry. 
 | 
 1.3.9.1
 1.3.9.1