v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Static Public Member Functions | 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)
 

Detailed Description

Definition at line 41 of file sample2.h.

Constructor & Destructor Documentation

MyString::MyString ( )
inline

Definition at line 55 of file sample2.h.

MyString::MyString ( const char *  a_c_string)
inlineexplicit

Definition at line 58 of file sample2.h.

References Set().

Here is the call graph for this function:

MyString::MyString ( const MyString string)
inline

Definition at line 63 of file sample2.h.

References Set().

Here is the call graph for this function:

MyString::~MyString ( )
inline

Definition at line 71 of file sample2.h.

Member Function Documentation

static const char* MyString::CloneCString ( const char *  a_c_string)
static
const char* MyString::c_string ( ) const
inline

Definition at line 74 of file sample2.h.

Referenced by Length().

Here is the caller graph for this function:

size_t MyString::Length ( ) const
inline

Definition at line 76 of file sample2.h.

References c_string(), and Set().

Here is the call graph for this function:

void MyString::Set ( const char *  c_string)

Referenced by Length(), and MyString().

Here is the caller graph for this function:


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