OpenSim::MarkerPair Class Reference

#include <MarkerPair.h>

Inheritance diagram for OpenSim::MarkerPair:
OpenSim::Object

List of all members.

Public Member Functions

 MarkerPair ()
 Default constructor.
 MarkerPair (const MarkerPair &aMarkerPair)
 Copy constructor.
 MarkerPair (const std::string &aName1, const std::string &aName2)
virtual ~MarkerPair ()
 Destructor.
virtual Objectcopy () const
 Copy this MarkerPair and return a pointer to the copy.
MarkerPairoperator= (const MarkerPair &aMarkerPair)
 Assign this object to the values of another.
void copyData (const MarkerPair &aMarkerPair)
void getMarkerNames (std::string &aName1, std::string &aName2) const
const std::string & getMarkerName (int i) const
void setMarkerName (int i, const std::string &aName)

Protected Attributes

PropertyStrArray _markerNamesProp
Array< std::string > & _markerNames

Constructor & Destructor Documentation

MarkerPair::MarkerPair (  ) 

Default constructor.

MarkerPair::MarkerPair ( const MarkerPair aMarkerPair  ) 

Copy constructor.

Parameters:
aMarkerPair MarkerPair to be copied.
MarkerPair::MarkerPair ( const std::string &  aName1,
const std::string &  aName2 
)
MarkerPair::~MarkerPair (  )  [virtual]

Destructor.


Member Function Documentation

Object * MarkerPair::copy (  )  const [virtual]

Copy this MarkerPair and return a pointer to the copy.

The copy constructor for this class is used.

Returns:
Pointer to a copy of this MarkerPair.

Reimplemented from OpenSim::Object.

void MarkerPair::copyData ( const MarkerPair aMarkerPair  ) 
const std::string& OpenSim::MarkerPair::getMarkerName ( int  i  )  const [inline]
void OpenSim::MarkerPair::getMarkerNames ( std::string &  aName1,
std::string &  aName2 
) const
MarkerPair & MarkerPair::operator= ( const MarkerPair aObject  ) 

Assign this object to the values of another.

The XML-associated variable members are not copied-- the XML nodes and/or document must be generated anew for a copied object.

Returns:
Reference to this object.
See also:
updateXMLNode()
generateXMLNode()

Reimplemented from OpenSim::Object.

void OpenSim::MarkerPair::setMarkerName ( int  i,
const std::string &  aName 
) [inline]

Member Data Documentation

Array<std::string>& OpenSim::MarkerPair::_markerNames [protected]

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

Generated on Wed Dec 16 15:03:50 2009 for OpenSim by  doxygen 1.6.1