#include <referenceholderbase.h>

Public Member Functions | |
| virtual const IType * | findReference (bool recache=false) const |
| Searches the tree for the associated reference. | |
| virtual const std::string * | getReference () const |
| Gets the reference. | |
| virtual bool | isValid () const |
| virtual void | setReference (const std::string &ref, bool fromStdLib=false) |
| Sets the reference. | |
| const HGL::IType * ReferenceHolderBase::findReference | ( | bool | recache = false |
) | const [virtual] |
Searches the tree for the associated reference.
Implements HGL::Type::IReferenceHolder.
Reimplemented in HGL::Type::ExpressionParam, HGL::Type::Line, and HGL::Type::ReferenceParam.
| const std::string * ReferenceHolderBase::getReference | ( | ) | const [virtual] |
Gets the reference.
NULL if no reference is set Implements HGL::Type::IReferenceHolder.
| bool ReferenceHolderBase::isValid | ( | ) | const [virtual] |
true if a reference is set, but not checking if the reference itself is valid. A type is valid
Reimplemented from HGL::Type::TypeBase.
Reimplemented in HGL::Type::Curve, HGL::Type::Point, and HGL::Type::Poly.
| void ReferenceHolderBase::setReference | ( | const std::string & | ref, | |
| bool | fromStdLib = false | |||
| ) | [virtual] |
Sets the reference.
| ref | the reference | |
| fromStdLib | true if the reference points into the stdlib |
Implements HGL::Type::IReferenceHolder.
1.6.1