DCMTK  Version 3.6.1 20121102
OFFIS DICOM Toolkit
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
dcmtk::log4cplus::helpers::Properties Class Reference
+ Collaboration diagram for dcmtk::log4cplus::helpers::Properties:

Public Member Functions

 Properties (tistream &input)
 
 Properties (const tstring &inputFile)
 
bool exists (const tstring &key) const
 Tests to see if key can be found in this map.
 
size_t size () const
 Returns the number of entries in this map.
 
tstring getProperty (const tstring &key) const
 Searches for the property with the specified key in this property list. More...
 
tstring getProperty (const tstring &key, const tstring &defaultVal) const
 Searches for the property with the specified key in this property list. More...
 
OFList< tstringpropertyNames () const
 Returns all the keys in this property list.
 
void setProperty (const tstring &key, const tstring &value)
 Inserts value into this map indexed by key.
 
bool removeProperty (const tstring &key)
 Removed the property index by key from this map.
 
Properties getPropertySubset (const tstring &prefix) const
 Returns a subset of the "properties" whose keys start with "prefix". More...
 

Static Public Attributes

static const tchar PROPERTIES_COMMENT_CHAR
 

Protected Types

typedef OFMap< tstring, tstringStringMap
 

Protected Member Functions

void init (tistream &input)
 

Protected Attributes

StringMap data
 

Member Function Documentation

tstring dcmtk::log4cplus::helpers::Properties::getProperty ( const tstring key) const

Searches for the property with the specified key in this property list.

If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns null if the property is not found.

tstring dcmtk::log4cplus::helpers::Properties::getProperty ( const tstring key,
const tstring defaultVal 
) const

Searches for the property with the specified key in this property list.

If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns the default value argument if the property is not found.

Properties dcmtk::log4cplus::helpers::Properties::getPropertySubset ( const tstring prefix) const

Returns a subset of the "properties" whose keys start with "prefix".

The returned "properties" have "prefix" trimmed from their keys.


The documentation for this class was generated from the following file:


Generated on Wed Sep 4 2013 for DCMTK Version 3.6.1 20121102 by Doxygen 1.8.4