Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
WsOptions Class Reference

#include <WsOption.h>

Inheritance diagram for WsOptions:
Inheritance graph
Collaboration diagram for WsOptions:
Collaboration graph

Public Member Functions

 WsOptions ()
 
 WsOptions (const std::vector< WsOption > &vOptions)
 
 WsOptions (const WsOptions &src)
 
void setOption (const std::string &attribute, boost::any value)
 Set an options if previously set, update the value. More...
 
void setOptions (const std::vector< WsOption > &vOptions)
 Set all options. More...
 
const boost::any & option (const std::string &attribute) const
 Get an options value. More...
 
const std::vector< WsOption > & options () const
 Get all options. More...
 
void outOptions (const std::string message)
 Output all options. More...
 

Private Attributes

std::vector< WsOptionm_vOptions
 
boost::any m_noOptions
 

Detailed Description

Definition at line 23 of file WsOption.h.

Constructor & Destructor Documentation

WsOptions::WsOptions ( )

Definition at line 35 of file WsOption.cpp.

WsOptions::WsOptions ( const std::vector< WsOption > &  vOptions)

Definition at line 38 of file WsOption.cpp.

WsOptions::WsOptions ( const WsOptions src)

Definition at line 42 of file WsOption.cpp.

Here is the call graph for this function:

Member Function Documentation

const boost::any & WsOptions::option ( const std::string &  attribute) const

Get an options value.

Definition at line 62 of file WsOption.cpp.

Here is the caller graph for this function:

const std::vector< WsOption > & WsOptions::options ( ) const

Get all options.

Definition at line 70 of file WsOption.cpp.

Here is the caller graph for this function:

void WsOptions::outOptions ( const std::string  message)

Output all options.

Definition at line 75 of file WsOption.cpp.

Here is the caller graph for this function:

void WsOptions::setOption ( const std::string &  attribute,
boost::any  value 
)

Set an options if previously set, update the value.

Definition at line 47 of file WsOption.cpp.

Here is the caller graph for this function:

void WsOptions::setOptions ( const std::vector< WsOption > &  vOptions)

Set all options.

Definition at line 57 of file WsOption.cpp.

Here is the caller graph for this function:

Member Data Documentation

boost::any WsOptions::m_noOptions
private

Definition at line 45 of file WsOption.h.

std::vector<WsOption> WsOptions::m_vOptions
private

Definition at line 44 of file WsOption.h.


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