Geant4  10.00.p02
G4SubString Class Reference

#include <G4String.hh>

+ Collaboration diagram for G4SubString:

Public Member Functions

 G4SubString (const G4SubString &)
 
G4SubStringoperator= (const char *)
 
G4SubStringoperator= (const G4String &)
 
G4SubStringoperator= (const G4SubString &)
 
char & operator() (str_size)
 
char operator() (str_size) const
 
char & operator[] (str_size)
 
char operator[] (str_size) const
 
G4int operator! () const
 
G4bool operator== (const G4String &) const
 
G4bool operator== (const char *) const
 
G4bool operator!= (const G4String &) const
 
G4bool operator!= (const char *) const
 
str_size length () const
 
str_size start () const
 
G4bool isNull () const
 

Private Member Functions

 G4SubString (G4String &, str_size, str_size)
 

Private Attributes

G4Stringmystring
 
str_size mystart
 
str_size extent
 

Friends

class G4String
 

Detailed Description

Definition at line 61 of file G4String.hh.

Constructor & Destructor Documentation

G4SubString::G4SubString ( const G4SubString )
inline
G4SubString::G4SubString ( G4String ,
str_size  ,
str_size   
)
inlineprivate

Member Function Documentation

G4bool G4SubString::isNull ( ) const
inline
str_size G4SubString::length ( ) const
inline
G4int G4SubString::operator! ( ) const
inline
G4bool G4SubString::operator!= ( const G4String ) const
inline
G4bool G4SubString::operator!= ( const char *  ) const
inline
char& G4SubString::operator() ( str_size  )
inline
char G4SubString::operator() ( str_size  ) const
inline
G4SubString& G4SubString::operator= ( const char *  )
inline
G4SubString& G4SubString::operator= ( const G4String )
inline
G4SubString& G4SubString::operator= ( const G4SubString )
inline
G4bool G4SubString::operator== ( const G4String ) const
inline
G4bool G4SubString::operator== ( const char *  ) const
inline
char& G4SubString::operator[] ( str_size  )
inline
char G4SubString::operator[] ( str_size  ) const
inline
str_size G4SubString::start ( ) const
inline

Friends And Related Function Documentation

friend class G4String
friend

Definition at line 99 of file G4String.hh.

Member Data Documentation

str_size G4SubString::extent
private

Definition at line 97 of file G4String.hh.

str_size G4SubString::mystart
private

Definition at line 96 of file G4String.hh.

G4String* G4SubString::mystring
private

Definition at line 95 of file G4String.hh.


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