NAME

ACE_Configuration_Value_IntId - The section hash table internal value class

SYNOPSIS

#include <ace/Configuration.h>

class ACE_Configuration_Value_IntId { public: ACE_Configuration_Value_IntId (void); ACE_EXPLICIT ACE_Configuration_Value_IntId (TCHAR* string); ACE_EXPLICIT ACE_Configuration_Value_IntId (u_int integer); ACE_Configuration_Value_IntId (void* data, u_int length); ACE_Configuration_Value_IntId ( const ACE_Configuration_Value_IntId& rhs ); ~ACE_Configuration_Value_IntId (void); ACE_Configuration_Value_IntId& operator= ( const ACE_Configuration_Value_IntId& rhs ); void free (ACE_Allocator* allocator); ACE_Configuration::VALUETYPE type_; void* data_; u_int length_; };

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.

ACE_Configuration::VALUETYPE type_;

void* data_;

u_int length_;

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