Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
cl::string Class Reference

Simple string class, that provides a limited subset of std::string functionality but avoids many of the issues that come with that class. More...

#include <cl.hpp>

Collaboration diagram for cl::string:
[legend]

Public Member Functions

 string (void)
 
 string (char *str,::size_t size)
 
 string (char *str)
 
stringoperator= (const string &rhs)
 
 string (const string &rhs)
 
 ~string ()
 
::size_t size (void) const
 
::size_t length (void) const
 
const char * c_str (void) const
 
 string (void)
 
 string (char *str,::size_t size)
 
 string (char *str)
 
stringoperator= (const string &rhs)
 
 string (const string &rhs)
 
 ~string ()
 
::size_t size (void) const
 
::size_t length (void) const
 
const char * c_str (void) const
 

Private Attributes

::size_t size_
 
char * str_
 

Detailed Description

Simple string class, that provides a limited subset of std::string functionality but avoids many of the issues that come with that class.

Definition at line 338 of file cl.hpp.

Constructor & Destructor Documentation

cl::string::string ( void  )
inline

Definition at line 344 of file cl.hpp.

cl::string::string ( char *  str,
::size_t  size 
)
inline

Definition at line 348 of file cl.hpp.

Here is the call graph for this function:

cl::string::string ( char *  str)
inline

Definition at line 362 of file cl.hpp.

Here is the call graph for this function:

cl::string::string ( const string rhs)
inline

Definition at line 399 of file cl.hpp.

cl::string::~string ( )
inline

Definition at line 404 of file cl.hpp.

cl::string::string ( void  )
inline

Definition at line 344 of file cl.hpp.

cl::string::string ( char *  str,
::size_t  size 
)
inline

Definition at line 348 of file cl.hpp.

Here is the call graph for this function:

cl::string::string ( char *  str)
inline

Definition at line 362 of file cl.hpp.

Here is the call graph for this function:

cl::string::string ( const string rhs)
inline

Definition at line 399 of file cl.hpp.

cl::string::~string ( )
inline

Definition at line 404 of file cl.hpp.

Member Function Documentation

const char* cl::string::c_str ( void  ) const
inline

Definition at line 414 of file cl.hpp.

const char* cl::string::c_str ( void  ) const
inline

Definition at line 414 of file cl.hpp.

::size_t cl::string::length ( void  ) const
inline

Definition at line 412 of file cl.hpp.

::size_t cl::string::length ( void  ) const
inline

Definition at line 412 of file cl.hpp.

string& cl::string::operator= ( const string rhs)
inline

Definition at line 375 of file cl.hpp.

Here is the call graph for this function:

string& cl::string::operator= ( const string rhs)
inline

Definition at line 375 of file cl.hpp.

Here is the call graph for this function:

::size_t cl::string::size ( void  ) const
inline

Definition at line 411 of file cl.hpp.

::size_t cl::string::size ( void  ) const
inline

Definition at line 411 of file cl.hpp.

Member Data Documentation

size_t cl::string::size_
private

Definition at line 341 of file cl.hpp.

char * cl::string::str_
private

Definition at line 342 of file cl.hpp.


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