|
void | set_strorage_index (int32 i) |
|
bool | is_registered () const |
|
int32 | get_storage_index () const |
|
virtual uint32 | get_oid () const =0 |
|
virtual void | set_oid (uint32 oid)=0 |
|
virtual Atom & | code (uint16 i)=0 |
|
virtual const Atom & | code (uint16 i) const =0 |
|
virtual uint16 | code_size () const =0 |
|
virtual void | resize_code (uint16 new_size)=0 |
|
bool | includes (Atom a) const |
|
virtual void | set_reference (uint16 i, Code *object)=0 |
|
virtual Code * | get_reference (uint16 i) const =0 |
|
virtual uint16 | references_size () const =0 |
|
virtual void | clear_references ()=0 |
|
virtual void | set_references (std::vector< P< Code > > &new_references)=0 |
|
virtual bool | is_compact () const |
|
virtual bool | is_invalidated () |
|
virtual bool | invalidate () |
|
virtual _View * | build_view (SysView *source)=0 |
|
virtual void | acq_views () |
|
virtual void | rel_views () |
|
virtual void | acq_markers () |
|
virtual void | rel_markers () |
|
virtual float32 | get_psln_thr () |
|
virtual void | mod (uint16, float32) |
|
virtual void | set (uint16, float32) |
|
virtual _View * | get_view (Code *, bool) |
|
virtual void | add_reference (Code *) |
|
void | remove_marker (Code *m) |
|
void | trace (uint16 i, std::ostream &out, Atom::TraceContext &context) const |
|
void | trace (std::ostream &out) const |
|
void | trace () const |
|
std::string | trace_string () const |
|
std::string | trace_string (uint16 i) const |
|
void | r_trace (std::ostream &out) const |
|
void | r_trace () const |
|
std::string | r_trace_string () const |
|
void | incRef () |
|
virtual void | decRef () |
|
|
static const int32 | null_storage_index = -1 |
|
static const uint32 | CodeMarkersInitialSize = 8 |
|
|
int32 | storage_index_ |
|
int32 volatile | refCount_ |
|
Definition at line 223 of file r_code/object.h.
◆ r_trace()
void r_code::Code::r_trace |
( |
std::ostream & |
out | ) |
const |
Recursively call trace(out) to print the trace of this Code to the out stream, along the trace of each get_reference(0). (This doesn't print the trace of get_reference(0) if it is a mdl, cst, ent or ont.) This is useful, for example, to trace a fact as well as the mk.val it references.
Definition at line 306 of file object.cpp.
◆ r_trace_string()
std::string r_code::Code::r_trace_string |
( |
| ) |
const |
|
inline |
Return the r_trace as a string. For debugging purposes only (can be inefficient).
Definition at line 368 of file r_code/object.h.
◆ trace() [1/2]
void r_code::Code::trace |
( |
std::ostream & |
out | ) |
const |
|
inline |
◆ trace() [2/2]
void r_code::Code::trace |
( |
uint16 |
i, |
|
|
std::ostream & |
out, |
|
|
Atom::TraceContext & |
context |
|
) |
| const |
|
inline |
Print the trace of code(i) to the out stream, using the given TraceContext.
Definition at line 299 of file r_code/object.h.
◆ trace_string() [1/2]
std::string r_code::Code::trace_string |
( |
| ) |
const |
|
inline |
Return the trace as a string. For debugging purposes only (can be inefficient).
Definition at line 339 of file r_code/object.h.
◆ trace_string() [2/2]
std::string r_code::Code::trace_string |
( |
uint16 |
i | ) |
const |
|
inline |
Return the trace of code(i) as a string, using a default TraceContext (no indentation).
Definition at line 348 of file r_code/object.h.
The documentation for this class was generated from the following files: