Parasol Planning Library (PPL)
Functions
Connection.cpp File Reference
#include "Connection.h"
#include "Body.h"
#include "MultiBody.h"
#include "Utilities/XMLNode.h"
#include <algorithm>
Include dependency graph for Connection.cpp:

Functions

Connection::JointType GetJointTypeFromTag (std::string _tag, const std::string &_where)
 
std::string GetTagFromJointType (const Connection::JointType _j)
 
std::ostream & operator<< (std::ostream &_os, const Connection::JointType &_j)
 
std::ostream & operator<< (std::ostream &_os, const Connection &_c)
 

Function Documentation

◆ GetJointTypeFromTag()

Connection::JointType GetJointTypeFromTag ( std::string  _tag,
const std::string &  _where 
)

Parse the connection type from a string tag.

Parameters
_tagThe string tag to parse.
_whereLocation of _tag for error reporting.
Returns
The joint type represented by _tag.

◆ GetTagFromJointType()

std::string GetTagFromJointType ( const Connection::JointType  _j)

Create a string tag for a given connection type.

Parameters
_jJoint type
Returns
String representation of _j.

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  _os,
const Connection _c 
)

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  _os,
const Connection::JointType _j 
)