limal::ca_mgm::CAConfig Class Reference

#include <CAConfig.hpp>

List of all members.

Public Member Functions

 CAConfig (const String &file)
 ~CAConfig ()
void setValue (const String &section, const String &key, const String &value)
void deleteValue (const String &section, const String &key)
String getValue (const String &section, const String &key) const
bool exists (const String &section, const String &key) const
BLOCXX_NAMESPACE::List< BLOCXX_NAMESPACE::StringgetKeylist (const String &section) const
void copySection (const String &srcSection, const String &destSection)
CAConfigclone (const String &file)
String filename () const
void dump ()

Private Member Functions

 CAConfig ()
 CAConfig (const CAConfig &)
CAConfigoperator= (const CAConfig &)
void dumpTree (CASection *section, int level=0)
void validateAndFix ()

Private Attributes

BLOCXX_NAMESPACE::COWIntrusiveReference<
CAConfigImpl > 
m_impl


Detailed Description

Class for reading and writing the openssl.cnf


Constructor & Destructor Documentation

limal::ca_mgm::CAConfig::CAConfig const String file  ) 
 

Create a new object from file

limal::ca_mgm::CAConfig::~CAConfig  ) 
 

limal::ca_mgm::CAConfig::CAConfig  )  [private]
 

limal::ca_mgm::CAConfig::CAConfig const CAConfig  )  [private]
 


Member Function Documentation

CAConfig* limal::ca_mgm::CAConfig::clone const String file  ) 
 

Clone this object

Parameters:
file a new filename for this object

void limal::ca_mgm::CAConfig::copySection const String srcSection,
const String destSection
 

Copy all Keys and values from Section srcSection to Section destSection.

void limal::ca_mgm::CAConfig::deleteValue const String section,
const String key
 

Delete the Key key in Section section

void limal::ca_mgm::CAConfig::dump  ) 
 

void limal::ca_mgm::CAConfig::dumpTree CASection *  section,
int  level = 0
[private]
 

bool limal::ca_mgm::CAConfig::exists const String section,
const String key
const
 

Check if Key key in Section section exists.

String limal::ca_mgm::CAConfig::filename  )  const
 

return current filename

BLOCXX_NAMESPACE ::List< BLOCXX_NAMESPACE ::String> limal::ca_mgm::CAConfig::getKeylist const String section  )  const
 

Return a List of all Keys in Section section.

String limal::ca_mgm::CAConfig::getValue const String section,
const String key
const
 

Get the value of Section section with the Key key.

CAConfig& limal::ca_mgm::CAConfig::operator= const CAConfig  )  [private]
 

void limal::ca_mgm::CAConfig::setValue const String section,
const String key,
const String value
 

Set a new value in Section section with the Key key.

void limal::ca_mgm::CAConfig::validateAndFix  )  [private]
 

Check the format of the template and fix it if required. (SLES9 => SLES10 update)


Member Data Documentation

BLOCXX_NAMESPACE ::COWIntrusiveReference<CAConfigImpl> limal::ca_mgm::CAConfig::m_impl [private]
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 12 01:06:21 2008 for limal-ca-mgm by  doxygen 1.4.6