Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MyString Class Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/samples/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 41 of file sample2.h.

View newest version in sPHENIX GitHub at line 41 of file sample2.h

Constructor & Destructor Documentation

MyString::MyString ( )
inline

Definition at line 55 of file sample2.h.

View newest version in sPHENIX GitHub at line 55 of file sample2.h

MyString::MyString ( const char *  a_c_string)
inlineexplicit

Definition at line 58 of file sample2.h.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 63 of file sample2.h

References c_string_, and Set().

+ Here is the call graph for this function:

MyString::~MyString ( )
inline

Definition at line 71 of file sample2.h.

View newest version in sPHENIX GitHub at line 71 of file sample2.h

References c_string_.

Member Function Documentation

const char* MyString::c_string ( ) const
inline

Definition at line 74 of file sample2.h.

View newest version in sPHENIX GitHub at line 74 of file sample2.h

References c_string_.

Referenced by TEST().

+ Here is the caller graph for this function:

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

Definition at line 39 of file sample2.cc.

View newest version in sPHENIX GitHub at line 39 of file sample2.cc

Referenced by Set().

+ Here is the caller graph for this function:

size_t MyString::Length ( ) const
inline

Definition at line 76 of file sample2.h.

View newest version in sPHENIX GitHub at line 76 of file sample2.h

References c_string_.

Referenced by TEST().

+ Here is the caller graph for this function:

const MyString& MyString::operator= ( const MyString rhs)
private
void MyString::Set ( const char *  c_string)

Definition at line 51 of file sample2.cc.

View newest version in sPHENIX GitHub at line 51 of file sample2.cc

References c_string_, and CloneCString().

Referenced by MyString(), and TEST().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const char* MyString::c_string_
private

Definition at line 43 of file sample2.h.

View newest version in sPHENIX GitHub at line 43 of file sample2.h

Referenced by c_string(), Length(), MyString(), Set(), and ~MyString().


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