Public Member Functions | List of all members
IceCore::Pairs Class Reference

#include <OPC_IceHook.h>

Inheritance diagram for IceCore::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 IceCore::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 26 of file OPC_IceHook.h.

Constructor & Destructor Documentation

◆ Pairs()

IceCore::Pairs::Pairs ( )
inline

Definition at line 30 of file OPC_IceHook.h.

◆ ~Pairs()

IceCore::Pairs::~Pairs ( )
inline

Definition at line 31 of file OPC_IceHook.h.

Member Function Documentation

◆ AddPair() [1/2]

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

Definition at line 42 of file OPC_IceHook.h.

◆ AddPair() [2/2]

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

Definition at line 43 of file OPC_IceHook.h.

◆ DeleteLastPair()

inline_ void IceCore::Pairs::DeleteLastPair ( )
inline

Definition at line 40 of file OPC_IceHook.h.

◆ GetNbPairs()

inline_ udword IceCore::Pairs::GetNbPairs ( ) const
inline

Definition at line 33 of file OPC_IceHook.h.

◆ GetPair()

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

Definition at line 35 of file OPC_IceHook.h.

◆ GetPairs()

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

Definition at line 34 of file OPC_IceHook.h.

◆ HasPairs()

inline_ BOOL IceCore::Pairs::HasPairs ( ) const
inline

Definition at line 37 of file OPC_IceHook.h.

◆ ResetPairs()

inline_ void IceCore::Pairs::ResetPairs ( )
inline

Definition at line 39 of file OPC_IceHook.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 Thu Sep 8 2022 02:24:09