CAPD DynSys Library  5.2.0
capd::krak::var Class Reference

#include <capd/krak/item.h>

Public Member Functions

 var (void)
 
 var (var &a_var)
 
 var (const char *text)
 
 var (capd::krak::frstring &text)
 
 var (capd::krak::frstring &s, capd::krak::atom &a)
 
 var (capd::krak::frstring &s, capd::krak::frstring &v)
 
varoperator= (var &a_var)
 
virtual frstring descriptor (void)
 
varoperator|= (capd::krak::atom &a)
 
varoperator|= (capd::krak::frstring &s)
 
capd::krak::frstringoperator! (void)
 
capd::krak::atomoperator~ (void)
 
virtual int who (void)
 
virtual void put (std::ostream &out)
 
char * string (void) const
 
char character (int n)
 
int operator+ (frstring &second_string)
 
int operator+ (int an_int)
 
frstring operator++ (void)
 
frstring operator++ (int)
 
frstring operator-- (void)
 
int operator<= (frstring &second_string)
 
int operator<= (capd::krak::atom &an_atom)
 
int operator>= (frstring &second_string)
 
int operator>= (capd::krak::atom &an_atom)
 
int operator< (frstring &second_string)
 
int operator> (frstring &second_string)
 
int operator== (const frstring &second_string)
 
int operator== (capd::krak::atom &an_atom)
 
int operator!= (const frstring &second_string)
 
virtual void resize (int len)
 
frstring operator[] (int last)
 
frstring operator() (int first) const
 
frstring operator() (int first, int last) const
 
frstring rmqm (void)
 
void insert (int pos, char c)
 
void remove (int pos)
 
void split (int ncol)
 
frstring extractFirstItem (void)
 
frstring getFirstItem (void)
 
int get (void)
 

Public Attributes

capd::krak::atomvalue
 

Protected Member Functions

virtual capd::krak::atomcopy ()
 
virtual ~var (void)
 

Constructor & Destructor Documentation

◆ var() [1/6]

capd::krak::var::var ( void  )
inline

◆ var() [2/6]

capd::krak::var::var ( var a_var)
inline

◆ var() [3/6]

capd::krak::var::var ( const char *  text)
inline

◆ var() [4/6]

capd::krak::var::var ( capd::krak::frstring text)
inline

◆ var() [5/6]

capd::krak::var::var ( capd::krak::frstring s,
capd::krak::atom a 
)
inline

◆ var() [6/6]

capd::krak::var::var ( capd::krak::frstring s,
capd::krak::frstring v 
)
inline

◆ ~var()

capd::krak::var::~var ( void  )
inlineprotectedvirtual

Member Function Documentation

◆ character()

char capd::krak::frstring::character ( int  n)
inlineinherited

◆ copy()

capd::krak::atom * capd::krak::var::copy ( )
inlineprotectedvirtual

Reimplemented from capd::krak::frstring.

Reimplemented in capd::krak::field.

◆ descriptor()

capd::krak::frstring capd::krak::var::descriptor ( void  )
inlinevirtual

Reimplemented from capd::krak::frstring.

Reimplemented in capd::krak::field.

◆ get()

int capd::krak::frstring::get ( void  )
inlineinherited

◆ operator!()

capd::krak::frstring & capd::krak::var::operator! ( void  )
inline

◆ operator!=()

int capd::krak::frstring::operator!= ( const frstring second_string)
inlineinherited

◆ operator<=()

int capd::krak::frstring::operator<= ( capd::krak::atom an_atom)
inlinevirtualinherited

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::item.

◆ operator=()

capd::krak::var & capd::krak::var::operator= ( var a_var)
inline

◆ operator==()

int capd::krak::frstring::operator== ( capd::krak::atom an_atom)
inlinevirtualinherited

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::item.

◆ operator>=()

int capd::krak::frstring::operator>= ( capd::krak::atom an_atom)
inlinevirtualinherited

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::item.

◆ operator|=() [1/2]

capd::krak::var & capd::krak::var::operator|= ( capd::krak::atom a)
inline

◆ operator|=() [2/2]

capd::krak::var & capd::krak::var::operator|= ( capd::krak::frstring s)
inline

◆ operator~()

capd::krak::atom * capd::krak::var::operator~ ( void  )
inline

◆ put()

void capd::krak::var::put ( std::ostream &  out)
inlinevirtual

Reimplemented from capd::krak::frstring.

Reimplemented in capd::krak::field.

◆ string()

char * capd::krak::frstring::string ( void  ) const
inlineinherited

◆ who()

int capd::krak::var::who ( void  )
inlinevirtual

Reimplemented from capd::krak::frstring.

Reimplemented in capd::krak::field.

Member Data Documentation

◆ value

capd::krak::atom* capd::krak::var::value