bpp-core  2.1.0
bpp::BppString Class Reference

The BppString object class. More...

#include <Bpp/BppString.h>

+ Inheritance diagram for bpp::BppString:
+ Collaboration diagram for bpp::BppString:

List of all members.

Public Member Functions

 BppString ()
 BppString (const char *value)
 BppString (const std::string &value)
BppStringoperator= (const char *value)
BppStringoperator= (const std::string &value)
virtual ~BppString ()
const std::string & toSTL () const
The Clonable interface.
BppStringclone () const
 Create a copy of this object and send a pointer to it.

Private Attributes

std::string text_

Detailed Description

The BppString object class.

This class extends the stl::string class to support the Clonable interface.

Definition at line 57 of file BppString.h.


Constructor & Destructor Documentation

Definition at line 64 of file BppString.h.

Referenced by clone().

bpp::BppString::BppString ( const char *  value) [inline]

Definition at line 65 of file BppString.h.

bpp::BppString::BppString ( const std::string &  value) [inline]

Definition at line 66 of file BppString.h.

virtual bpp::BppString::~BppString ( ) [inline, virtual]

Definition at line 69 of file BppString.h.


Member Function Documentation

BppString* bpp::BppString::clone ( ) const [inline, virtual]

Create a copy of this object and send a pointer to it.

Returns:
A pointer toward the copy object.

Implements bpp::Clonable.

Definition at line 83 of file BppString.h.

References BppString().

BppString& bpp::BppString::operator= ( const char *  value) [inline]

Definition at line 67 of file BppString.h.

References text_.

BppString& bpp::BppString::operator= ( const std::string &  value) [inline]

Definition at line 68 of file BppString.h.

References text_.

const std::string& bpp::BppString::toSTL ( ) const [inline]

Definition at line 86 of file BppString.h.

References text_.

Referenced by bpp::operator<<().


Member Data Documentation

std::string bpp::BppString::text_ [private]

Definition at line 60 of file BppString.h.

Referenced by operator=(), and toSTL().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends