Version: 6.3.1
Public Member Functions | Protected Attributes

NMTDS_PassKey Class Reference

#include <NMTDS_PassKey.hxx>

Inheritance diagram for NMTDS_PassKey:
Inheritance graph

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT NMTDS_PassKey ()
virtual Standard_EXPORT ~NMTDS_PassKey ()
Standard_EXPORT NMTDS_PassKey (const NMTDS_PassKey &Other)
Standard_EXPORT NMTDS_PassKeyoperator= (const NMTDS_PassKey &Other)
Standard_EXPORT void Clear ()
Standard_EXPORT void SetIds (const Standard_Integer aI1)
Standard_EXPORT void SetIds (const Standard_Integer aI1, const Standard_Integer aI2)
Standard_EXPORT void SetIds (const Standard_Integer aI1, const Standard_Integer aI2, const Standard_Integer aI3)
Standard_EXPORT void SetIds (const Standard_Integer aI1, const Standard_Integer aI2, const Standard_Integer aI3, const Standard_Integer aI4)
Standard_EXPORT void SetIds (const TColStd_ListOfInteger &aLS)
Standard_EXPORT Standard_Integer NbIds () const
Standard_EXPORT Standard_Boolean IsEqual (const NMTDS_PassKey &aOther) const
Standard_EXPORT Standard_Integer HashCode (const Standard_Integer Upper) const
Standard_EXPORT Standard_Integer Id (const Standard_Integer aIndex) const
Standard_EXPORT void Ids (Standard_Integer &aI1, Standard_Integer &aI2) const
Standard_EXPORT void Dump (const Standard_Integer aHex=0) const

Protected Attributes

Standard_Integer myNbIds
Standard_Integer mySum
TColStd_IndexedMapOfInteger myMap

Constructor & Destructor Documentation

NMTDS_PassKey::NMTDS_PassKey ( )

References Clear().

NMTDS_PassKey::~NMTDS_PassKey ( ) [virtual]
NMTDS_PassKey::NMTDS_PassKey ( const NMTDS_PassKey Other)

References myMap, myNbIds, and mySum.


Member Function Documentation

void* NMTDS_PassKey.operator new ( size_t  ,
void *  anAddress 
)

Reimplemented in NMTDS_PassKeyBoolean.

void* NMTDS_PassKey.operator new ( size_t  size)

Reimplemented in NMTDS_PassKeyBoolean.

void NMTDS_PassKey.operator delete ( void *  anAddress)

Reimplemented in NMTDS_PassKeyBoolean.

NMTDS_PassKey & NMTDS_PassKey::operator= ( const NMTDS_PassKey Other)

References myMap, myNbIds, and mySum.

void NMTDS_PassKey::Clear ( )

References myMap, myNbIds, and mySum.

void NMTDS_PassKey::SetIds ( const Standard_Integer  aI1)

References Clear(), myMap, myNbIds, mySum, and NormalizedId().

void NMTDS_PassKey::SetIds ( const Standard_Integer  aI1,
const Standard_Integer  aI2 
)

References SetIds().

void NMTDS_PassKey::SetIds ( const Standard_Integer  aI1,
const Standard_Integer  aI2,
const Standard_Integer  aI3 
)

References SetIds().

void NMTDS_PassKey::SetIds ( const Standard_Integer  aI1,
const Standard_Integer  aI2,
const Standard_Integer  aI3,
const Standard_Integer  aI4 
)

References SetIds().

void NMTDS_PassKey::SetIds ( const TColStd_ListOfInteger &  aLS)
Standard_Integer NMTDS_PassKey::NbIds ( ) const

References myNbIds.

Standard_Boolean NMTDS_PassKey::IsEqual ( const NMTDS_PassKey aOther) const
Standard_Integer NMTDS_PassKey::HashCode ( const Standard_Integer  Upper) const

References mySum.

Standard_Integer NMTDS_PassKey::Id ( const Standard_Integer  aIndex) const

References myMap, and myNbIds.

void NMTDS_PassKey::Ids ( Standard_Integer &  aI1,
Standard_Integer &  aI2 
) const

References myMap, and myNbIds.

void NMTDS_PassKey::Dump ( const Standard_Integer  aHex = 0) const

Field Documentation

Standard_Integer NMTDS_PassKey.myNbIds [protected]
Standard_Integer NMTDS_PassKey.mySum [protected]
TColStd_IndexedMapOfInteger NMTDS_PassKey.myMap [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS