String Class Reference

#include <G3string.h>

List of all members.

Public Member Functions

 String (const char s[]="")
 String (const String &s)
 ~String ()
Stringoperator= (const String &rhs)
Stringoperator+= (const String &rhs)
char & operator[] (int i)
char operator[] (int i) const
int length () const
const char * charString () const

Friends

bool operator== (const String &s, const String &t)
bool operator!= (const String &s, const String &t)
bool operator< (const String &s, const String &t)
bool operator<= (const String &s, const String &t)
bool operator> (const String &s, const String &t)
bool operator>= (const String &s, const String &t)
OPS_Streamoperator<< (OPS_Stream &out, const String &s)
istream & operator>> (istream &in, String &s)
String operator+ (const String &s, const String &t)


Detailed Description

Definition at line 9 of file G3string.h.


Constructor & Destructor Documentation

String::String ( const char  s[] = ""  ) 

Definition at line 4 of file G3string.cpp.

String::String ( const String s  ) 

Definition at line 10 of file G3string.cpp.

References info_.

String::~String (  ) 

Definition at line 16 of file G3string.cpp.


Member Function Documentation

String & String::operator= ( const String rhs  ) 

Definition at line 21 of file G3string.cpp.

References info_.

String & String::operator+= ( const String rhs  ) 

Definition at line 31 of file G3string.cpp.

References info_.

char & String::operator[] ( int  i  ) 

Definition at line 50 of file G3string.cpp.

char String::operator[] ( int  i  )  const

Definition at line 55 of file G3string.cpp.

int String::length (  )  const

Definition at line 83 of file G3string.cpp.

const char * String::charString (  )  const

Definition at line 60 of file G3string.cpp.

Referenced by operator<<().


Friends And Related Function Documentation

bool operator== ( const String s,
const String t 
) [friend]

Definition at line 88 of file G3string.cpp.

bool operator!= ( const String s,
const String t 
) [friend]

Definition at line 93 of file G3string.cpp.

bool operator< ( const String s,
const String t 
) [friend]

Definition at line 98 of file G3string.cpp.

bool operator<= ( const String s,
const String t 
) [friend]

Definition at line 103 of file G3string.cpp.

bool operator> ( const String s,
const String t 
) [friend]

Definition at line 108 of file G3string.cpp.

bool operator>= ( const String s,
const String t 
) [friend]

Definition at line 113 of file G3string.cpp.

OPS_Stream& operator<< ( OPS_Stream out,
const String s 
) [friend]

Definition at line 65 of file G3string.cpp.

istream& operator>> ( istream &  in,
String s 
) [friend]

Definition at line 71 of file G3string.cpp.

String operator+ ( const String s,
const String t 
) [friend]

Definition at line 43 of file G3string.cpp.


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

Generated on Mon Oct 23 15:05:49 2006 for OpenSees by doxygen 1.5.0