NAME

ACE_Configuration_ExtId - External ID for the section and value hash

SYNOPSIS

#include <ace/Configuration.h>

class ACE_Configuration_ExtId { public: ACE_Configuration_ExtId (void); ACE_EXPLICIT ACE_Configuration_ExtId (const TCHAR* name); ACE_Configuration_ExtId (const ACE_Configuration_ExtId& rhs); ~ACE_Configuration_ExtId (void); ACE_Configuration_ExtId& operator= ( const ACE_Configuration_ExtId& rhs ); int operator== (const ACE_Configuration_ExtId &rhs) const; int operator!= (const ACE_Configuration_ExtId &rhs) const; void free (ACE_Allocator* allocator); u_long hash (void) const; const TCHAR * name_; const TCHAR *name (void); };

DESCRIPTION

The ACE configuration API provides a portable abstraction for program configuration. The API supports a tree based hierarchy of configuration sections. Each section contains other sections or values. Values may contain string, unsigned integer and binary data.

Data members.

const TCHAR * name_;

Accessors

const TCHAR *name (void);

AUTHOR

Chris Hafey chris@stentorsoft.com

TODO

- Add locking for thread safety. - Need to investigate what happens if memory mapped file gets mapped to a location different than it was created with. - Implement export and import of binary values - Add dynamic buffer when importing. currently it will not allow importing of values greater than a fixed ammount (4096 bytes) - Replace unsigned int with a type that is fixed accross platforms.

LIBRARY

ace