varconf  1.0.3
Configuration library for the Worldforge system.
varconf::dynvar::Compare Class Referenceabstract
Inheritance diagram for varconf::dynvar::Compare:
Collaboration diagram for varconf::dynvar::Compare:

Public Member Functions

 Compare (const Variable &v1, const Variable &v2)
 
 Compare (const Compare &c)
 
Compareoperator= (const Compare &c)
 
virtual operator bool ()
 
virtual operator bool () const
 
virtual operator int ()
 
virtual operator int () const
 
virtual operator double ()
 
virtual operator double () const
 
virtual operator std::string ()
 
virtual operator std::string () const
 
bool is_bool () override
 
bool is_int () override
 
bool is_double () override
 
bool is_string () override
 
Scope scope () const
 
void setScope (Scope s)
 

Protected Member Functions

void set_val () override
 
virtual bool bool_cmp (bool b1, bool b2)=0
 
virtual bool int_cmp (int i1, int i2)=0
 
virtual bool double_cmp (double d1, double d2)=0
 
virtual bool string_cmp (const std::string &s1, const std::string &s2)=0
 

Protected Attributes

Scope m_scope
 

Detailed Description

Definition at line 38 of file dyncmp.h.


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