BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
BUSBOY::Properties Class Reference

Replicates some of the functionality of Java's Properties class. More...

#include <Properties.h>

Public Member Functions

 Properties ()
 
 Properties (const std::map< std::string, std::string > &propMap)
 
 Properties (const Properties &props)
 
std::set< std::string > getAllPropertyNames () const
 
std::map< std::string,
std::string > 
getPropertyMap () const
 
bool hasProperty (const std::string &name) const
 
std::string getProperty (const std::string &name) const
 
void setProperty (const std::string &name, const std::string &value)
 
void setAllProperties (const Properties &props)
 
void setAllProperties (const std::map< std::string, std::string > &propMap)
 
bool operator== (const Properties &props) const
 
bool operator!= (const Properties &props) const
 
Propertiesoperator= (const Properties &props)
 
 ~Properties ()
 

Detailed Description

Replicates some of the functionality of Java's Properties class.

Constructor & Destructor Documentation

BUSBOY::Properties::Properties ( )
BUSBOY::Properties::Properties ( const std::map< std::string, std::string > &  propMap)
BUSBOY::Properties::Properties ( const Properties props)
BUSBOY::Properties::~Properties ( )

Member Function Documentation

std::set< std::string > BUSBOY::Properties::getAllPropertyNames ( ) const
std::string BUSBOY::Properties::getProperty ( const std::string &  name) const
std::map< std::string, std::string > BUSBOY::Properties::getPropertyMap ( ) const
bool BUSBOY::Properties::hasProperty ( const std::string &  name) const
bool BUSBOY::Properties::operator!= ( const Properties props) const
Properties & BUSBOY::Properties::operator= ( const Properties props)
bool BUSBOY::Properties::operator== ( const Properties props) const
void BUSBOY::Properties::setAllProperties ( const Properties props)
void BUSBOY::Properties::setAllProperties ( const std::map< std::string, std::string > &  propMap)
void BUSBOY::Properties::setProperty ( const std::string &  name,
const std::string &  value 
)

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

Copyright 2014 Google Inc. All rights reserved.