NAME

ACE_Configuration_Section_Key_Heap

SYNOPSIS

#include <ace/Configuration.h>

class ACE_Configuration_Section_Key_Heap { protected: virtual ~ACE_Configuration_Section_Key_Heap (void); ACE_Configuration_Section_Key_Heap ( const ACE_Configuration_Section_Key_Heap& rhs ); ACE_Configuration_Section_Key_Heap& operator= ( const ACE_Configuration_Section_Key_Heap& rhs ); private: : public ACE_Section_Key_Internal { public: ACE_Configuration_Section_Key_Heap ( const TCHAR* path ); TCHAR* path_; VALUE_HASH::ITERATOR* value_iter_; SUBSECTION_HASH::ITERATOR* section_iter_; };

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.

PROTECTED MEMBERS

virtual ~ACE_Configuration_Section_Key_Heap (void);

ACE_Configuration_Section_Key_Heap (
    const ACE_Configuration_Section_Key_Heap& rhs
    );

ACE_Configuration_Section_Key_Heap& operator= (
    const ACE_Configuration_Section_Key_Heap& rhs
    );

PRIVATE MEMBERS

: public ACE_Section_Key_Internal { public: ACE_Configuration_Section_Key_Heap (
    const TCHAR* path
    );

TCHAR* path_;

VALUE_HASH::ITERATOR* value_iter_;

SUBSECTION_HASH::ITERATOR* section_iter_;

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