NAME

ACE_Configuration_Section_Key - Referenced counted wrapper for ACE_Section_Key_Internal.

SYNOPSIS

#include <ace/Configuration.h>

class ACE_Configuration_Section_Key { public: friend class ACE_Configuration; ACE_Configuration_Section_Key (void); ACE_EXPLICIT ACE_Configuration_Section_Key ( ACE_Section_Key_Internal *key ); ACE_Configuration_Section_Key ( const ACE_Configuration_Section_Key &rhs ); ~ACE_Configuration_Section_Key (void); operator= (const ACE_Configuration_Section_Key &rhs); private: ACE_Section_Key_Internal *key_; };

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.

PUBLIC MEMBERS

friend class ACE_Configuration;

ACE_Configuration_Section_Key (void);

ACE_EXPLICIT ACE_Configuration_Section_Key (
    ACE_Section_Key_Internal *key
    );

ACE_Configuration_Section_Key (
    const ACE_Configuration_Section_Key &rhs
    );

~ACE_Configuration_Section_Key (void);

operator= (const ACE_Configuration_Section_Key &rhs);

PRIVATE MEMBERS

ACE_Section_Key_Internal *key_;

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