Public Member Functions | Private Attributes

ETCL_Component_Assoc Class Reference

#include <ETCL_Constraint.h>

Inheritance diagram for ETCL_Component_Assoc:
Inheritance graph
[legend]
Collaboration diagram for ETCL_Component_Assoc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ETCL_Component_Assoc (void)
 ETCL_Component_Assoc (ETCL_Constraint *identifier, ETCL_Constraint *component)
virtual ~ETCL_Component_Assoc (void)
ETCL_Identifieridentifier (void) const
ETCL_Constraintcomponent (void) const
virtual int accept (ETCL_Constraint_Visitor *visitor)

Private Attributes

ETCL_Identifieridentifier_
ETCL_Constraintcomponent_

Detailed Description

Definition at line 234 of file ETCL_Constraint.h.


Constructor & Destructor Documentation

ETCL_Component_Assoc::ETCL_Component_Assoc ( void   )  [inline]

Definition at line 129 of file ETCL_Constraint.inl.

{}

ETCL_Component_Assoc::ETCL_Component_Assoc ( ETCL_Constraint identifier,
ETCL_Constraint component 
) [inline]

Definition at line 133 of file ETCL_Constraint.inl.

  : component_ (component)
{
  this->identifier_ =
    dynamic_cast<ETCL_Identifier*> (identifier);
}

ETCL_Component_Assoc::~ETCL_Component_Assoc ( void   )  [virtual]

Definition at line 520 of file ETCL_Constraint.cpp.

{
  delete this->component_;
  delete this->identifier_;
}


Member Function Documentation

int ETCL_Component_Assoc::accept ( ETCL_Constraint_Visitor visitor  )  [virtual]

Reimplemented from ETCL_Constraint.

Definition at line 527 of file ETCL_Constraint.cpp.

{
  return visitor->visit_component_assoc (this);
}

ETCL_Constraint * ETCL_Component_Assoc::component ( void   )  const [inline]

Definition at line 150 of file ETCL_Constraint.inl.

{
  return this->component_;
}

ETCL_Identifier * ETCL_Component_Assoc::identifier ( void   )  const [inline]

Definition at line 144 of file ETCL_Constraint.inl.

{
  return this->identifier_;
}


Member Data Documentation

Definition at line 249 of file ETCL_Constraint.h.

Definition at line 248 of file ETCL_Constraint.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines