Geant4  10.02.p03
G4SubString Class Reference

#include <G4String.hh>

Collaboration diagram for G4SubString:

Public Member Functions

 G4SubString (const G4SubString &)
 
G4SubStringoperator= (const char *)
 
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 source/global/management/include/G4String.hh.

Constructor & Destructor Documentation

◆ G4SubString() [1/2]

G4SubString::G4SubString ( const G4SubString )
inline

◆ G4SubString() [2/2]

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

Member Function Documentation

◆ isNull()

G4bool G4SubString::isNull ( ) const
inline
Here is the caller graph for this function:

◆ length()

str_size G4SubString::length ( ) const
inline

◆ operator!()

G4int G4SubString::operator! ( ) const
inline

◆ operator!=() [1/2]

G4bool G4SubString::operator!= ( const G4String ) const
inline
Here is the caller graph for this function:

◆ operator!=() [2/2]

G4bool G4SubString::operator!= ( const char *  ) const
inline

◆ operator()() [1/2]

char& G4SubString::operator() ( str_size  )
inline
Here is the caller graph for this function:

◆ operator()() [2/2]

char G4SubString::operator() ( str_size  ) const
inline

◆ operator=() [1/2]

G4SubString& G4SubString::operator= ( const char *  )
inline
Here is the caller graph for this function:

◆ operator=() [2/2]

G4SubString& G4SubString::operator= ( const G4SubString )
inline

◆ operator==() [1/2]

G4bool G4SubString::operator== ( const G4String ) const
inline
Here is the caller graph for this function:

◆ operator==() [2/2]

G4bool G4SubString::operator== ( const char *  ) const
inline

◆ operator[]() [1/2]

char& G4SubString::operator[] ( str_size  )
inline

◆ operator[]() [2/2]

char G4SubString::operator[] ( str_size  ) const
inline

◆ start()

str_size G4SubString::start ( ) const
inline

Friends And Related Function Documentation

◆ G4String

friend class G4String
friend

Definition at line 98 of file source/global/management/include/G4String.hh.

Member Data Documentation

◆ extent

str_size G4SubString::extent
private

Definition at line 96 of file source/global/management/include/G4String.hh.

◆ mystart

str_size G4SubString::mystart
private

Definition at line 95 of file source/global/management/include/G4String.hh.

◆ mystring

G4String* G4SubString::mystring
private

Definition at line 94 of file source/global/management/include/G4String.hh.


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