replicode
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
r_exec::Value Class Referenceabstract

#include <binding_map.h>

Inheritance diagram for r_exec::Value:
Inheritance graph
Collaboration diagram for r_exec::Value:
Collaboration graph

Public Member Functions

virtual Valuecopy (BindingMap *map) const =0
 
virtual void valuate (Code *destination, uint16_t write_index, uint16_t &extent_index) const =0
 
virtual bool match (const Code *object, uint16_t index)=0
 
virtual Atomget_code ()=0
 
virtual Codeget_object ()=0
 
virtual uint16_t get_code_size ()=0
 
virtual bool intersect (const Value *v) const
 
virtual bool _intersect (const AtomValue *v) const
 
virtual bool _intersect (const StructureValue *v) const
 
virtual bool _intersect (const ObjectValue *v) const
 
virtual bool contains (const Atom a) const
 
virtual bool contains (const Atom *s) const
 
virtual bool contains (const Code *o) const
 
- Public Member Functions inherited from core::_Object
virtual ~_Object ()
 
void incRef ()
 
virtual void decRef ()
 

Protected Member Functions

 Value (BindingMap *map)
 
- Protected Member Functions inherited from core::_Object
 _Object ()
 

Protected Attributes

BindingMapmap
 
- Protected Attributes inherited from core::_Object
std::atomic_int_fast64_t refCount
 

Constructor & Destructor Documentation

r_exec::Value::Value ( BindingMap map)
protected

Member Function Documentation

virtual bool r_exec::Value::_intersect ( const AtomValue v) const
inlinevirtual

Reimplemented in r_exec::AtomValue.

Here is the caller graph for this function:

virtual bool r_exec::Value::_intersect ( const StructureValue v) const
inlinevirtual

Reimplemented in r_exec::StructureValue.

virtual bool r_exec::Value::_intersect ( const ObjectValue v) const
inlinevirtual

Reimplemented in r_exec::ObjectValue.

virtual bool r_exec::Value::contains ( const Atom  a) const
inlinevirtual

Reimplemented in r_exec::AtomValue.

virtual bool r_exec::Value::contains ( const Atom s) const
inlinevirtual

Reimplemented in r_exec::StructureValue.

virtual bool r_exec::Value::contains ( const Code o) const
inlinevirtual

Reimplemented in r_exec::ObjectValue.

virtual Value* r_exec::Value::copy ( BindingMap map) const
pure virtual
virtual Atom* r_exec::Value::get_code ( )
pure virtual
virtual uint16_t r_exec::Value::get_code_size ( )
pure virtual
virtual Code* r_exec::Value::get_object ( )
pure virtual
virtual bool r_exec::Value::intersect ( const Value v) const
inlinevirtual
virtual bool r_exec::Value::match ( const Code object,
uint16_t  index 
)
pure virtual
virtual void r_exec::Value::valuate ( Code destination,
uint16_t  write_index,
uint16_t &  extent_index 
) const
pure virtual

Member Data Documentation

BindingMap* r_exec::Value::map
protected

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