Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MyString Class Reference

#include <sample2.h>

Public Member Functions

 MyString ()
 
 MyString (const char *a_c_string)
 
 MyString (const MyString &string)
 
 ~MyString ()
 
const char * c_string () const
 
size_t Length () const
 
void Set (const char *c_string)
 

Static Public Member Functions

static const char * CloneCString (const char *a_c_string)
 

Private Member Functions

const MyStringoperator= (const MyString &rhs)
 

Private Attributes

const char * c_string_
 

Detailed Description

Definition at line 39 of file sample2.h.

Constructor & Destructor Documentation

MyString::MyString ( )
inline

Definition at line 53 of file sample2.h.

MyString::MyString ( const char *  a_c_string)
inlineexplicit

Definition at line 56 of file sample2.h.

MyString::MyString ( const MyString string)
inline

Definition at line 61 of file sample2.h.

MyString::~MyString ( )
inline

Definition at line 69 of file sample2.h.

Member Function Documentation

const MyString& MyString::operator= ( const MyString rhs)
private
const char * MyString::CloneCString ( const char *  a_c_string)
static

Definition at line 37 of file sample2.cc.

const char* MyString::c_string ( ) const
inline

Definition at line 72 of file sample2.h.

size_t MyString::Length ( ) const
inline

Definition at line 74 of file sample2.h.

void MyString::Set ( const char *  c_string)

Definition at line 49 of file sample2.cc.

Member Data Documentation

const char* MyString::c_string_
private

Definition at line 41 of file sample2.h.


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