Public Member Functions | List of all members
Pairs Class Reference

#include <IcePairs.h>

Inheritance diagram for Pairs:
Inheritance graph
[legend]

Public Member Functions

inline_ void AddPair (const Pair &p)
 
inline_ void AddPair (udword id0, udword id1)
 
inline_ void DeleteLastPair ()
 
inline_ udword GetNbPairs () const
 
inline_ const PairGetPair (udword i) const
 
inline_ const PairGetPairs () const
 
inline_ BOOL HasPairs () const
 
 Pairs ()
 
inline_ void ResetPairs ()
 
 ~Pairs ()
 

Additional Inherited Members

- Private Member Functions inherited from Container
inline_ ContainerAdd (udword entry)
 
inline_ ContainerAdd (const udword *entries, udword nb)
 
inline_ ContainerAdd (float entry)
 
inline_ ContainerAdd (const float *entries, udword nb)
 
inline_ ContainerAddUnique (udword entry)
 Add unique [slow]. More...
 
 Container ()
 
 Container (const Container &object)
 
 Container (udword size, float growth_factor)
 
bool Contains (udword entry, udword *location=null) const
 
bool Delete (udword entry)
 
inline_ void DeleteIndex (udword index)
 Deletes the entry whose index is given. More...
 
bool DeleteKeepingOrder (udword entry)
 
inline_ void DeleteLastEntry ()
 Deletes the very last entry. More...
 
ContainerEmpty ()
 
ContainerFindNext (udword &entry, FindMode find_mode=FIND_CLAMP)
 
ContainerFindPrev (udword &entry, FindMode find_mode=FIND_CLAMP)
 
inline_ void ForceSize (udword size)
 
inline_ udwordGetEntries () const
 Returns the list of entries. More...
 
inline_ udword GetEntry (udword i) const
 Returns ith entry. More...
 
inline_ udword GetFirst () const
 
inline_ float GetGrowthFactor () const
 Returns the growth factor. More...
 
inline_ udword GetLast () const
 
inline_ udword GetNbContainers () const
 Operator for "Container A = Container B". More...
 
inline_ udword GetNbEntries () const
 Returns the current number of entries. More...
 
inline_ udword GetTotalBytes () const
 
udword GetUsedRam () const
 
inline_ bool IsFull () const
 Checks the container is full. More...
 
inline_ BOOL IsNotEmpty () const
 Checks the container is empty. More...
 
inline_ udword operator[] (udword i) const
 Read-access as an array. More...
 
inline_ udwordoperator[] (udword i)
 Write-access as an array. More...
 
bool Refit ()
 
inline_ void Reset ()
 
inline_ void SetGrowthFactor (float growth)
 Sets the growth factor. More...
 
bool SetSize (udword nb)
 
 ~Container ()
 

Detailed Description

Definition at line 25 of file IcePairs.h.

Constructor & Destructor Documentation

Pairs::Pairs ( )
inline

Definition at line 29 of file IcePairs.h.

Pairs::~Pairs ( )
inline

Definition at line 30 of file IcePairs.h.

Member Function Documentation

inline_ void Pairs::AddPair ( const Pair p)
inline

Definition at line 41 of file IcePairs.h.

inline_ void Pairs::AddPair ( udword  id0,
udword  id1 
)
inline

Definition at line 42 of file IcePairs.h.

inline_ void Pairs::DeleteLastPair ( )
inline

Definition at line 39 of file IcePairs.h.

inline_ udword Pairs::GetNbPairs ( ) const
inline

Definition at line 32 of file IcePairs.h.

inline_ const Pair* Pairs::GetPair ( udword  i) const
inline

Definition at line 34 of file IcePairs.h.

inline_ const Pair* Pairs::GetPairs ( ) const
inline

Definition at line 33 of file IcePairs.h.

inline_ BOOL Pairs::HasPairs ( ) const
inline

Definition at line 36 of file IcePairs.h.

inline_ void Pairs::ResetPairs ( )
inline

Definition at line 38 of file IcePairs.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:43