31 #include "libxml/xmlIO.h"
61 void add(
const unsigned int);
64 void add(
const std::string);
94 bool isIn(
unsigned int)
const;
void clear()
clear the list
std::string toAnsys() const
return the ANSYS command to select the list of target (only work for indexed targets) ...
std::vector< unsigned int > indexedTargetList
list of indexed target = index of the entities
Definition: TargetList.h:98
std::string toString() const
return the list in a handy/compact format (compact interval, i.e. 4,5,6 becomes 4-6, ...)
void add(const unsigned int)
add a load using an integer
std::string getNamedTarget(const unsigned int) const
get a named target
unsigned int getNumberOfTargets() const
get the nr of indevidual targets
Manage a list of targets, can be created/modified using either an integer, a name, a list of integers given in a string (e.g.
Definition: TargetList.h:45
TargetList()
default constructor, the target list is empty
bool indexedTargets() const
return true only if the list of target are indexes
bool isIn(unsigned int) const
return true only if this is the list of target are indexes and the given index is in the list or if t...
std::vector< std::string > namedTargetList
list of named target = name of the entities
Definition: TargetList.h:101
int getIndexedTarget(const unsigned int) const
get an indexed target