SimpleValueQoreNode Class Reference

base class for simple value types More...

#include <AbstractQoreNode.h>

Inheritance diagram for SimpleValueQoreNode:
SimpleQoreNode AbstractQoreNode QoreReferenceCounter BinaryNode DateTimeNode QoreBigIntNode QoreFloatNode QoreStringNode ReferenceNode UniqueValueQoreNode QoreBoolNode QoreNothingNode QoreNullNode QoreBoolFalseNode QoreBoolTrueNode

List of all members.

Public Member Functions

DLLLOCAL SimpleValueQoreNode (qore_type_t t, bool n_there_can_be_only_one=false)
 creates the object by assigning the type code and setting the "value" flag, unsetting the "needs_eval" flag, and setting "there_can_be_only_one"

Protected Member Functions

virtual DLLEXPORT
AbstractQoreNode
evalImpl (ExceptionSink *xsink) const
 should never be called for value types
virtual DLLEXPORT
AbstractQoreNode
evalImpl (bool &needs_deref, ExceptionSink *xsink) const
 should never be called for value types
virtual DLLEXPORT int64 bigIntEvalImpl (ExceptionSink *xsink) const
 should never be called for value types
virtual DLLEXPORT int integerEvalImpl (ExceptionSink *xsink) const
 should never be called for value types
virtual DLLEXPORT bool boolEvalImpl (ExceptionSink *xsink) const
 should never be called for value types
virtual DLLEXPORT double floatEvalImpl (ExceptionSink *xsink) const
 should never be called for value types

Detailed Description

base class for simple value types


Member Function Documentation

virtual DLLEXPORT int64 SimpleValueQoreNode::bigIntEvalImpl ( ExceptionSink xsink  )  const [protected, virtual]

should never be called for value types

in debugging builds of the library, calls to this function will abort

Reimplemented from AbstractQoreNode.

virtual DLLEXPORT bool SimpleValueQoreNode::boolEvalImpl ( ExceptionSink xsink  )  const [protected, virtual]

should never be called for value types

in debugging builds of the library, calls to this function will abort

Reimplemented from AbstractQoreNode.

virtual DLLEXPORT AbstractQoreNode* SimpleValueQoreNode::evalImpl ( bool &  needs_deref,
ExceptionSink xsink 
) const [protected, virtual]

should never be called for value types

in debugging builds of the library, calls to this function will abort

Implements AbstractQoreNode.

virtual DLLEXPORT AbstractQoreNode* SimpleValueQoreNode::evalImpl ( ExceptionSink xsink  )  const [protected, virtual]

should never be called for value types

in debugging builds of the library, calls to this function will abort

Implements AbstractQoreNode.

Reimplemented in QoreNothingNode, and QoreNullNode.

virtual DLLEXPORT double SimpleValueQoreNode::floatEvalImpl ( ExceptionSink xsink  )  const [protected, virtual]

should never be called for value types

in debugging builds of the library, calls to this function will abort

Reimplemented from AbstractQoreNode.

virtual DLLEXPORT int SimpleValueQoreNode::integerEvalImpl ( ExceptionSink xsink  )  const [protected, virtual]

should never be called for value types

in debugging builds of the library, calls to this function will abort

Reimplemented from AbstractQoreNode.


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

Generated on 14 Jun 2010 for Qore Programming Language by  doxygen 1.6.1