Public Member Functions | Private Attributes

ValueContainer< Anope::string * > Class Template Reference

#include <config.h>

Inherits ValueContainerBase.

Collaboration diagram for ValueContainer< Anope::string * >:
Collaboration graph
[legend]

Public Member Functions

 ValueContainer ()
 ValueContainer (Anope::string *Val)
 ValueContainer (const ValueContainer &Val)
ValueContaineroperator= (const ValueContainer &Val)
void Set (const Anope::string &newval)
void Set (const char *newval)

Private Attributes

Anope::stringval

Detailed Description

template<>
class ValueContainer< Anope::string * >

This a specific version of ValueContainer to handle Anope::string specially

Definition at line 136 of file config.h.


Constructor & Destructor Documentation

Initialize with nothing

Definition at line 143 of file config.h.

ValueContainer< Anope::string * >::ValueContainer ( Anope::string Val  )  [inline]

Initialize with an std::string

Definition at line 145 of file config.h.

ValueContainer< Anope::string * >::ValueContainer ( const ValueContainer< Anope::string * > &  Val  )  [inline]

Initialize with a copy

Definition at line 147 of file config.h.


Member Function Documentation

ValueContainer& ValueContainer< Anope::string * >::operator= ( const ValueContainer< Anope::string * > &  Val  )  [inline]

Definition at line 148 of file config.h.

References ValueContainer< T >::val.

void ValueContainer< Anope::string * >::Set ( const char *  newval  )  [inline]

Change value to given char pointer

Definition at line 160 of file config.h.

References ValueContainer< T >::val.

void ValueContainer< Anope::string * >::Set ( const Anope::string newval  )  [inline]

Change value to given Anope::string

Definition at line 155 of file config.h.

References ValueContainer< T >::val.

Referenced by CommandOSConfig::Execute(), and ServerConfig::Read().


Field Documentation

Contained item

Definition at line 140 of file config.h.


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