16 #ifndef TORC_GENERIC_LOGICELEMENT_HPP
17 #define TORC_GENERIC_LOGICELEMENT_HPP
28 namespace torc {
namespace generic {
class LogicValue; } }
29 namespace torc {
namespace generic {
class BaseVisitor; } }
126 inline void getChildren(std::vector<LogicElementSharedPtr> & outLogicElements)
const;
135 void setChildren(
const std::vector<LogicElementSharedPtr> & inSource);
207 std::vector<LogicElementSharedPtr>::iterator it =
mChildren.begin();
229 #endif // TORC_GENERIC_LOGICELEMENT_HPP
boost::shared_ptr< LogicValue > LogicValueSharedPtr
An acyclic inoutVisitor implementation.
RelationType mRelationType
boost::shared_ptr< LogicElement > LogicElementSharedPtr
virtual void accept(BaseVisitor &visitor)
Receive a visitor to this class. The visit method of the visitor is called and a reference to this ob...
void setRelationType(const RelationType &inSource)
void setChildren(const std::vector< LogicElementSharedPtr > &inSource)
const RelationType getRelationType() const
This class is used within simulationInfo construct to define a logic value to use for modeling in the...
The Error object thrown by different methods of EdifOM.
bool addChildLogicElement(const LogicElementSharedPtr &inChildLogicElement)
A base class for Visitor.
void applyOnAllChildren(const _Action &action)
void setType(const Type &inSource)
VisitorType< LogicElement > Visitor
void getChildren(std::vector< LogicElementSharedPtr > &outLogicElements) const
Represents different logic elements which holds array of logic values.
std::vector< LogicElementSharedPtr > mChildren
virtual LogicElementSharedPtr newLogicElementPtr(const LogicElement::Type &inType, const LogicValueSharedPtr &inLogicValue=LogicValueSharedPtr(), const LogicElementSharedPtr &inParentLogicElement=LogicElementSharedPtr())
const Type getType() const
A placeholder for a factory method.
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)