xc
Public Member Functions | List of all members
XC::DqPtrsConstraint Class Reference

Constraint pointers deque. More...

#include <DqPtrsConstraint.h>

Inheritance diagram for XC::DqPtrsConstraint:
XC::DqPtrs< Constraint >

Public Member Functions

 DqPtrsConstraint (CommandEntity *owr=nullptr)
 Constructor.
 
 DqPtrsConstraint (const std::deque< Constraint *> &ts)
 Copy constructor.
 
 DqPtrsConstraint (const std::set< const Constraint *> &ts)
 Copy constructor.
 
std::set< int > getTags (void) const
 Returns the tags of the elements.
 
ConstraintbuscaConstrainto (const int &tag)
 Returns (if it exists) a pointer to the element identified by the tag being passed as parameter. More...
 
const ConstraintbuscaConstrainto (const int &tag) const
 Returns (if it exists) a pointer to the element identified by the tag being passed as parameter. More...
 
void numera (void)
 Set indices to the objects to allow its use in VTK.
 
- Public Member Functions inherited from XC::DqPtrs< Constraint >
 DqPtrs (CommandEntity *owr=nullptr)
 Constructor.
 
 DqPtrs (const DqPtrs &)
 Copy constructor.
 
 DqPtrs (const std::deque< Constraint * > &ts)
 Copy from deque container.
 
 DqPtrs (const std::set< const Constraint * > &ts)
 Copy from set container.
 
DqPtrsoperator= (const DqPtrs &)
 Assignment operator.
 
DqPtrsoperator+= (const DqPtrs &)
 += (union) operator.
 
void extend (const DqPtrs &)
 Extend this container with the pointers from the container being passed as parameter. More...
 
bool push_back (Constraint *)
 
bool push_front (Constraint *)
 
bool empty (void) const
 
iterator begin (void)
 
const_iterator begin (void) const
 
iterator end (void)
 
const_iterator end (void) const
 
indIterator indBegin (void)
 
indIterator indEnd (void)
 
const Constraintget (const size_t &i) const
 Access specified node with bounds checking.
 
void clear (void)
 Clears out the list of pointers.
 
void clearAll (void)
 Clears out the list of pointers and erases the properties of the object (if any).
 
size_type size (void) const
 
bool in (const Constraint *) const
 Returns true if the pointer is in the container.
 
const IDgetTags (void) const
 Returns the tags of the objects.
 
void insert (iterator pos, InputIterator f, InputIterator l)
 
int sendTags (int posSz, int posDbTag, DbTagData &dt, CommParameters &cp)
 Sends the dbTags of the sets trough the channel being passed as parameter.
 
const IDreceiveTags (int posSz, int pDbTg, DbTagData &dt, const CommParameters &cp)
 Sends the dbTags of the sets through the channel being passed as parameter.
 

Additional Inherited Members

- Public Types inherited from XC::DqPtrs< Constraint >
typedef std::deque< Constraint *> lst_ptr
 
typedef lst_ptr::const_iterator const_iterator
 
typedef lst_ptr::iterator iterator
 
typedef lst_ptr::reference reference
 
typedef lst_ptr::const_reference const_reference
 
typedef lst_ptr::size_type size_type
 
typedef boost::indirect_iterator< iterator > indIterator
 

Detailed Description

Constraint pointers deque.

Member Function Documentation

§ buscaConstrainto() [1/2]

XC::Constraint * XC::DqPtrsConstraint::buscaConstrainto ( const int &  tag)

Returns (if it exists) a pointer to the element identified by the tag being passed as parameter.

§ buscaConstrainto() [2/2]

const XC::Constraint * XC::DqPtrsConstraint::buscaConstrainto ( const int &  tag) const

Returns (if it exists) a pointer to the element identified by the tag being passed as parameter.


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