XC Open source finite element analysis program
Public Member Functions | List of all members
XC::IDVarSize Class Reference
Inheritance diagram for XC::IDVarSize:
XC::ID

Public Member Functions

 IDVarSize (const int &, const int &)
 Constructor used to allocate a IDVarSize of size size and reserve nReserve positions.
 
int & operator[] (const int &i)
 
const int & operator[] (const int &i) const
 
- Public Member Functions inherited from XC::ID
 ID (void)
 Standard constructor, sets size = 0;.
 
 ID (const int &)
 Constructor used to allocate a ID of size size.
 
 ID (const v_int &)
 
 ID (const boost::python::list &)
 Constructor (interfaz Python).
 
 ID (const std::set< int > &)
 
template<class InputIterator >
 ID (InputIterator first, InputIterator last)
 
int Size (void) const
 
void Zero (void)
 
const int * getDataPtr (void) const
 
int * getDataPtr (void)
 
bool Nulo (void) const
 
int resize (const int &newSize)
 
const int & max (void) const
 Returns the maximum of vector components.
 
const int & min (void) const
 Returns the minimum of vector components.
 
bool checkRange (const int &) const
 check if argument is inside range [0,sz-1]
 
int & operator() (const int &)
 
const int & operator() (const int &) const
 
int & operator[] (const int &i)
 
const int & operator[] (const int &i) const
 
int getLocation (const int &) const
 Returns the position of 'value' in the vector.
 
int getLocationOrdered (const int &) const
 
int removeValue (const int &)
 

Additional Inherited Members

- Public Types inherited from XC::ID
typedef std::vector< int > v_int
 

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