1 #ifndef CONTRACTS_GROUP 
    2 #define CONTRACTS_GROUP 
   36   virtual const root_object &
get() 
const = 0;
 
   37   virtual void set(
const root_object &new_value) = 0;
 
   81 #define DEFINE_FILTER(NAME, CURRENT_VALUE, INFO_STRING) NAME = CURRENT_VALUE 
   85   DEFINE_FILTER(NEVER_PRINT, -1, 
"This diagnostic entry should be dropped and never seen"),
 
   86   DEFINE_FILTER(ALWAYS_PRINT, 0, 
"This diagnostic entry will always be shown or recorded")
 
Defines an attribute base class that supports get and set operations.
 
virtual void set(const root_object &new_value)=0
 
virtual const root_object & get() const =0
 
Provides an abstract base for logging mechanisms.
 
virtual outcome log(const base_string &info, int filter)=0
writes the information in "info" to the logger using the "filter".
 
Defines the base class for all string processing objects in hoople.
 
Interface for a simple form of synchronization.
 
virtual void establish_lock()=0
 
virtual void repeal_lock()=0
 
A clonable object knows how to make copy of itself.
 
virtual clonable * clone() const =0
 
Base class for object that can tell itself apart from other instances.
 
virtual bool operator==(const equalizable &s2) const
the virtual method for object equality.
 
virtual bool equal_to(const equalizable &s2) const =0
 
the base class of the most easily used and tested objects in the library.
 
Root object for any class that knows its own name.
 
virtual const char * class_name() const =0
Returns the bare name of this class as a constant character pointer.
 
A base for objects that can be alphabetically (lexicographically) ordered.
 
virtual bool less_than(const orderable &s2) const =0
 
virtual bool operator<(const orderable &s2) const
the virtual method for object ordering.
 
Outcomes describe the state of completion for an operation.
 
A base class for objects that can provide a synopsis of their current state.
 
virtual const char * class_name() const =0
Returns the bare name of this class as a constant character pointer.
 
virtual void text_form(base_string &state_fill) const =0
Provides a text view of all the important info owned by this object.
 
a base for classes that can stream their contents out to a textual form.
 
virtual bool consume(const base_string &source)=0
chows down on a string that supposedly contains a streamed form.
 
virtual bool produce(base_string &target) const =0
sends the derived class's member data into the "target" in a reversible manner.
 
The guards collection helps in testing preconditions and reporting errors.
 
root_logging_filters
These filter values are the most basic, and need to be known everywhere.