cvc4-1.3
CVC4::String Class Reference

#include <regexp.h>

Public Member Functions

 String ()
 
 String (const std::string &s)
 
 String (const char *s)
 
 String (const char c)
 
 String (const std::vector< unsigned int > &s)
 
 ~String ()
 
Stringoperator= (const String &y)
 
bool operator== (const String &y) const
 
bool operator!= (const String &y) const
 
String concat (const String &other) const
 
bool operator< (const String &y) const
 
bool operator> (const String &y) const
 
bool operator<= (const String &y) const
 
bool operator>= (const String &y) const
 
bool strncmp (const String &y, unsigned int n) const
 
bool isEmptyString () const
 
unsigned int operator[] (const unsigned int i) const
 
std::string toString () const
 
unsigned size () const
 
char getFirstChar () const
 
bool isRepeated () const
 
bool tailcmp (const String &y, int &c) const
 
String substr (unsigned i) const
 
String substr (unsigned i, unsigned j) const
 

Static Public Member Functions

static unsigned int convertCharToUnsignedInt (char c)
 
static char convertUnsignedIntToChar (unsigned int i)
 
static bool isPrintable (unsigned int i)
 

Detailed Description

Definition at line 31 of file regexp.h.

Constructor & Destructor Documentation

CVC4::String::String ( )
inline

Definition at line 46 of file regexp.h.

CVC4::String::String ( const std::string &  s)
inline

Definition at line 48 of file regexp.h.

CVC4::String::String ( const char *  s)
inline

Definition at line 54 of file regexp.h.

CVC4::String::String ( const char  c)
inline

Definition at line 60 of file regexp.h.

CVC4::String::String ( const std::vector< unsigned int > &  s)
inline

Definition at line 64 of file regexp.h.

CVC4::String::~String ( )
inline

Definition at line 66 of file regexp.h.

Member Function Documentation

String CVC4::String::concat ( const String other) const
inline

Definition at line 81 of file regexp.h.

static unsigned int CVC4::String::convertCharToUnsignedInt ( char  c)
inlinestatic

Definition at line 204 of file regexp.h.

static char CVC4::String::convertUnsignedIntToChar ( unsigned int  i)
inlinestatic

Definition at line 209 of file regexp.h.

char CVC4::String::getFirstChar ( ) const
inline

Definition at line 158 of file regexp.h.

bool CVC4::String::isEmptyString ( ) const
inline

Definition at line 134 of file regexp.h.

static bool CVC4::String::isPrintable ( unsigned int  i)
inlinestatic

Definition at line 213 of file regexp.h.

bool CVC4::String::isRepeated ( ) const
inline

Definition at line 162 of file regexp.h.

bool CVC4::String::operator!= ( const String y) const
inline

Definition at line 77 of file regexp.h.

bool CVC4::String::operator< ( const String y) const
inline

Definition at line 87 of file regexp.h.

bool CVC4::String::operator<= ( const String y) const
inline

Definition at line 107 of file regexp.h.

String& CVC4::String::operator= ( const String y)
inline

Definition at line 68 of file regexp.h.

bool CVC4::String::operator== ( const String y) const
inline

Definition at line 73 of file regexp.h.

bool CVC4::String::operator> ( const String y) const
inline

Definition at line 97 of file regexp.h.

bool CVC4::String::operator>= ( const String y) const
inline

Definition at line 117 of file regexp.h.

unsigned int CVC4::String::operator[] ( const unsigned int  i) const
inline

Definition at line 138 of file regexp.h.

unsigned CVC4::String::size ( ) const
inline

Definition at line 154 of file regexp.h.

bool CVC4::String::strncmp ( const String y,
unsigned int  n 
) const
inline

Definition at line 127 of file regexp.h.

String CVC4::String::substr ( unsigned  i) const
inline

Definition at line 186 of file regexp.h.

String CVC4::String::substr ( unsigned  i,
unsigned  j 
) const
inline

Definition at line 193 of file regexp.h.

bool CVC4::String::tailcmp ( const String y,
int &  c 
) const
inline

Definition at line 172 of file regexp.h.

std::string CVC4::String::toString ( ) const
inline

Definition at line 145 of file regexp.h.

Referenced by CVC4::operator<<().


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