Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
TaggedObject Class Reference#include <TaggedObject.h>
Inheritance diagram for TaggedObject::
List of all members.
Detailed Description
TaggedObject is used as a base class to represent all classes that may have a integer identifier, a tag, to identify the object. It is used in the framework as a base class for many classes, for example DomainComponent and Vertex. The class is provided so that container classes can be written to store objects and provide access to them. This saves us rewriting container classes for each type of object. (templates will be able to provide this functionality when they are provided with all compilers). \
Definition at line 58 of file TaggedObject.h.
Constructor & Destructor Documentation
TaggedObject::TaggedObject (
|
int tag )
|
|
|
Constructs a TaggedObject with a tag given by {tag}. The tag of a component is some unique means of identifying the component among like components, i.e. the tag of a node would be its unique node number.
Definition at line 40 of file TaggedObject.cpp. |
TaggedObject::~TaggedObject (
|
) [virtual]
|
|
|
Does nothing. Provided so the concrete subclasses destructors will be called.
Definition at line 46 of file TaggedObject.cpp. |
Member Function Documentation
void TaggedObject::Print (
|
ostream & s,
|
|
int flag = 0 ) [pure virtual]
|
|
|
A pure virtual function. The component is to output itself to the output stream {s}. The integer {flag} can be used to select just what should be output, by default
is passed.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, Concrete01, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EarthquakePattern, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, ElasticIsotropic3D, ElasticIsotropicMaterial, ElasticMaterial, ElasticPPMaterial, ElasticSection2d, ElasticSection3d, EnhancedQuad, FiberSection2d, FiberSection3d, FourNodeQuad, GenericSection1d, GenericSectionNd, HardeningMaterial, HystereticMaterial, ImposedMotionSP, ImposedMotionSP1, J2Plasticity, LinearCrdTransf2d, LinearCrdTransf3d, LoadPattern, MP_Constraint, MultiSupportPattern, NLBeamColumn2d, NLBeamColumn3d, NodalLoad, Node, ParallelMaterial, PDeltaCrdTransf2d, PDeltaCrdTransf3d, SectionAggregator, SP_Constraint, Steel01, Truss, TrussSection, UniformExcitation, Vertex, ViscousMaterial, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by SectionAggregator::Print(), FourNodeQuad::Print(), FiberSection3d::Print(), FiberSection2d::Print(), EnhancedQuad::Print(), DispBeamColumn3d::Print(), DispBeamColumn2d::Print(), CorotTruss::Print(), ConstantPressureVolumeQuad::Print(), Brick::Print(), BeamWithHinges2d::Print(), BbarBrick::Print(), ArrayOfTaggedObjects::Print(), ParallelMaterial::commitState(), operator<<(), ParallelMaterial::revertToLastCommit(), and ParallelMaterial::revertToStart().
|
int TaggedObject::getTag (
|
void ) const [inline]
|
|
|
INLINED TAGGED_OBJECT FUNCTIONS.
Returns the tag associated with the object. This function is inlined for performance.
Definition at line 104 of file TaggedObject.h.
Referenced by CorotTruss::CorotTruss(), ZeroLengthSection::Print(), ZeroLengthND::Print(), ZeroLength::Print(), ViscousMaterial::Print(), Vertex::Print(), TrussSection::Print(), Truss::Print(), Steel01::Print(), SP_Constraint::Print(), SectionAggregator::Print(), PDeltaCrdTransf3d::Print(), PDeltaCrdTransf2d::Print(), ParallelMaterial::Print(), Node::Print(), NLBeamColumn3d::Print(), NLBeamColumn2d::Print(), MultiSupportPattern::Print(), MP_Constraint::Print(), LoadPattern::Print(), LinearCrdTransf3d::Print(), LinearCrdTransf2d::Print(), ImposedMotionSP1::Print(), ImposedMotionSP::Print(), HystereticMaterial::Print(), HardeningMaterial::Print(), GenericSectionNd::Print(), GenericSection1d::Print(), FourNodeQuad::Print(), FiberSection3d::Print(), FiberSection2d::Print(), ElasticSection3d::Print(), ElasticSection2d::Print(), ElasticPPMaterial::Print(), ElasticMaterial::Print(), ElasticIsotropic3D::Print(), ElasticBeam3d::Print(), ElasticBeam2d::Print(), EightNodeBrick::Print(), DispBeamColumn3d::Print(), DispBeamColumn2d::Print(), CorotTruss::Print(), Concrete01::Print(), Brick::Print(), BeamWithHinges3d::Print(), BeamWithHinges2d::Print(), Truss::Truss(), TrussSection::TrussSection(), ZeroLength::ZeroLength(), ArrayOfTaggedObjects::addComponent(), Vertex::addEdge(), Domain::addElement(), Domain::addLoadPattern(), Domain::addMP_Constraint(), Domain::addNode(), Domain::addSP_Constraint(), Domain::buildEleGraph(), Domain::buildNodeGraph(), ArrayOfTaggedObjects::getComponentPtr(), DOF_Group::getNodeTag(), EightNodeBrick::get_Brick_Number(), TransformationConstraintHandler::handle(), PlainHandler::handle(), PenaltyConstraintHandler::handle(), LagrangeConstraintHandler::handle(), RCM::number(), LoadPattern::recvSelf(), Domain::recvSelf(), ArrayOfTaggedObjects::removeComponent(), EightNodeBrick::report(), EightNodeBrick::reportPAK(), EightNodeBrick::reportshort(), ZeroLengthSection::sendSelf(), ZeroLengthND::sendSelf(), ZeroLength::sendSelf(), ViscousMaterial::sendSelf(), TrussSection::sendSelf(), Truss::sendSelf(), Steel01::sendSelf(), SP_Constraint::sendSelf(), SectionAggregator::sendSelf(), PDeltaCrdTransf3d::sendSelf(), PDeltaCrdTransf2d::sendSelf(), ParallelMaterial::sendSelf(), Node::sendSelf(), NodalLoad::sendSelf(), NLBeamColumn3d::sendSelf(), NLBeamColumn2d::sendSelf(), MP_Constraint::sendSelf(), LoadPattern::sendSelf(), LinearCrdTransf3d::sendSelf(), LinearCrdTransf2d::sendSelf(), HardeningMaterial::sendSelf(), GenericSectionNd::sendSelf(), GenericSection1d::sendSelf(), FourNodeQuad::sendSelf(), FiberSection3d::sendSelf(), FiberSection2d::sendSelf(), ElasticSection3d::sendSelf(), ElasticSection2d::sendSelf(), ElasticPPMaterial::sendSelf(), ElasticMaterial::sendSelf(), ElasticIsotropic3D::sendSelf(), ElasticBeam3d::sendSelf(), ElasticBeam2d::sendSelf(), Domain::sendSelf(), Concrete01::sendSelf(), BeamWithHinges3d::sendSelf(), BeamWithHinges2d::sendSelf(), NLBeamColumn3d::setDomain(), NLBeamColumn2d::setDomain(), BeamWithHinges2d::setDomain(), Element::setKi(), SparseGenColLinSOE::setSize(), ProfileSPDLinSOE::setSize(), BandSPDLinSOE::setSize(), BandGenLinSOE::setSize(), BandArpackSOE::setSize(), and EightNodeBrick::total_disp().
|
void TaggedObject::setTag (
|
int newTag ) [protected]
|
|
|
Definition at line 52 of file TaggedObject.cpp.
Referenced by FiberSection3d::getCopy(), FiberSection2d::getCopy(), ZeroLengthSection::recvSelf(), ZeroLengthND::recvSelf(), ZeroLength::recvSelf(), ViscousMaterial::recvSelf(), TrussSection::recvSelf(), Truss::recvSelf(), Steel01::recvSelf(), SP_Constraint::recvSelf(), SectionAggregator::recvSelf(), PDeltaCrdTransf3d::recvSelf(), PDeltaCrdTransf2d::recvSelf(), ParallelMaterial::recvSelf(), Node::recvSelf(), NodalLoad::recvSelf(), NLBeamColumn3d::recvSelf(), NLBeamColumn2d::recvSelf(), MP_Constraint::recvSelf(), LinearCrdTransf3d::recvSelf(), LinearCrdTransf2d::recvSelf(), HardeningMaterial::recvSelf(), GenericSectionNd::recvSelf(), GenericSection1d::recvSelf(), FourNodeQuad::recvSelf(), FiberSection3d::recvSelf(), FiberSection2d::recvSelf(), ElasticSection3d::recvSelf(), ElasticSection2d::recvSelf(), ElasticPPMaterial::recvSelf(), ElasticMaterial::recvSelf(), ElasticIsotropic3D::recvSelf(), ElasticBeam3d::recvSelf(), ElasticBeam2d::recvSelf(), Concrete01::recvSelf(), BeamWithHinges3d::recvSelf(), and BeamWithHinges2d::recvSelf().
|
Friends And Related Function Documentation
ostream & operator<< (
|
ostream & s,
|
|
TaggedObject & m ) [friend]
|
|
The documentation for this class was generated from the following files:
|