#include <literals.h>
Inheritance diagram for Literal:


Public Member Functions | |
| ~Literal () | |
| Destructor. | |
| Literal (const Literal &literal) | |
| Copy constructor. | |
| Literal & | operator= (const Literal &literal) |
| Assignment operator. | |
| virtual ExprTree * | Copy () const |
| Make a deep copy. | |
| void | CopyFrom (const Literal &literal) |
| void | GetComponents (Value &v, Value::NumberFactor &f) const |
| Deconstructor to get the components of the literal. | |
| void | GetValue (Value &v) const |
| Deconstructor to get the encapsulated value. | |
| virtual bool | SameAs (const ExprTree *tree) const |
| Is this ExprTree the same as the tree? | |
Static Public Member Functions | |
| Literal * | MakeAbsTime (abstime_t *now=NULL) |
| Create an absolute time literal. | |
| Literal * | MakeAbsTime (std::string timestr) |
| Literal * | MakeRelTime (time_t secs=-1) |
| Create a relative time literal. | |
| Literal * | MakeRelTime (time_t t1, time_t t2) |
| Create a relative time interval by subtracting two absolute times. | |
| Literal * | MakeRelTime (std::string str) |
| Literal * | MakeReal (std::string realstr) |
| Literal * | MakeLiteral (const Value &v, Value::NumberFactor f=Value::NO_FACTOR) |
| Factory method to construct a Literal. | |
| int | findOffset (time_t epochsecs) |
Protected Member Functions | |
| Literal () | |
| Constructor. | |
Friends | |
| class | FunctionCall |
| class | ClassAd |
| class | ExprList |
| class | Operation |
| bool | operator== (Literal &literal1, Literal &literal2) |
|
||||||||||||
|
Deconstructor to get the components of the literal.
|
|
|
Deconstructor to get the encapsulated value.
|
|
|
Create an absolute time literal.
|
|
||||||||||||
|
Factory method to construct a Literal.
|
|
||||||||||||
|
Create a relative time interval by subtracting two absolute times.
|
|
|
Create a relative time literal.
|
|
|
Is this ExprTree the same as the tree?
Implements ExprTree. |