Public Member Functions | Friends | List of all members
pointFeatureEdgesTypes Class Reference

Hold the types of feature edges attached to the point. More...

Inheritance diagram for pointFeatureEdgesTypes:
Inheritance graph
[legend]
Collaboration diagram for pointFeatureEdgesTypes:
Collaboration graph
[legend]

Public Member Functions

 pointFeatureEdgesTypes (const extendedFeatureEdgeMesh &feMesh, const label pointLabel)
 Construct from components. More...
 
 ~pointFeatureEdgesTypes ()
 Destructor. More...
 
List< extendedFeatureEdgeMesh::edgeStatuscalcPointFeatureEdgesTypes ()
 Fill the pointFeatureEdgesType class with the types of feature. More...
 
- Public Member Functions inherited from HashTable< label, extendedFeatureEdgeMesh::edgeStatus >
bool set (const extendedFeatureEdgeMesh::edgeStatus &, const label &newElmt)
 Assign a new hashedEntry, overwriting existing entries. More...
 
 HashTable (const label size=128)
 Construct given initial table size. More...
 
 HashTable (Istream &, const label size=128)
 Construct from Istream. More...
 
 HashTable (const HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash > &)
 Construct as copy. More...
 
 HashTable (const Xfer< HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash >> &)
 Construct by transferring the parameter contents. More...
 
 ~HashTable ()
 Destructor. More...
 
label capacity () const
 The size of the underlying table. More...
 
label size () const
 Return number of elements in table. More...
 
bool empty () const
 Return true if the hash table is empty. More...
 
bool found (const extendedFeatureEdgeMesh::edgeStatus &) const
 Return true if hashedEntry is found in table. More...
 
iterator find (const extendedFeatureEdgeMesh::edgeStatus &)
 Find and return an iterator set at the hashedEntry. More...
 
const_iterator find (const extendedFeatureEdgeMesh::edgeStatus &) const
 Find and return an const_iterator set at the hashedEntry. More...
 
List< extendedFeatureEdgeMesh::edgeStatustoc () const
 Return the table of contents. More...
 
List< extendedFeatureEdgeMesh::edgeStatussortedToc () const
 Return the table of contents as a sorted list. More...
 
OstreamprintInfo (Ostream &) const
 Print information. More...
 
bool insert (const extendedFeatureEdgeMesh::edgeStatus &, const label &newElmt)
 Insert a new hashedEntry. More...
 
bool erase (const iterator &)
 Erase a hashedEntry specified by given iterator. More...
 
bool erase (const extendedFeatureEdgeMesh::edgeStatus &)
 Erase a hashedEntry specified by the given key. More...
 
label erase (const UList< extendedFeatureEdgeMesh::edgeStatus > &)
 Remove entries given by the listed keys from this HashTable. More...
 
label erase (const HashTable< AnyType, extendedFeatureEdgeMesh::edgeStatus, AnyHash > &)
 Remove entries given by the given keys from this HashTable. More...
 
void resize (const label newSize)
 Resize the hash table for efficiency. More...
 
void clear ()
 Clear all entries from table. More...
 
void clearStorage ()
 Clear the table entries and the table itself. More...
 
void shrink ()
 Shrink the allocated table to approx. twice number of elements. More...
 
void transfer (HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash > &)
 Transfer the contents of the argument table into this table. More...
 
Xfer< HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash > > xfer ()
 Transfer contents to the Xfer container. More...
 
labeloperator[] (const extendedFeatureEdgeMesh::edgeStatus &)
 Find and return a hashedEntry. More...
 
const labeloperator[] (const extendedFeatureEdgeMesh::edgeStatus &) const
 Find and return a hashedEntry. More...
 
labeloperator() (const extendedFeatureEdgeMesh::edgeStatus &)
 Find and return a hashedEntry, create it null if not present. More...
 
void operator= (const HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash > &)
 Assignment. More...
 
bool operator== (const HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash > &) const
 Equality. Hash tables are equal if the keys and values are equal. More...
 
bool operator!= (const HashTable< label, extendedFeatureEdgeMesh::edgeStatus, string::hash > &) const
 The opposite of the equality operation. Takes linear time. More...
 
iterator begin ()
 Iterator set to the beginning of the HashTable. More...
 
const_iterator begin () const
 const_iterator set to the beginning of the HashTable More...
 
const_iterator cbegin () const
 const_iterator set to the beginning of the HashTable More...
 
- Public Member Functions inherited from HashTableCore
 HashTableCore ()
 Construct null. More...
 
 ClassName ("HashTable")
 Define template name and debug. More...
 

Friends

Ostreamoperator<< (Ostream &os, const pointFeatureEdgesTypes &p)
 

Additional Inherited Members

- Public Types inherited from HashTable< label, extendedFeatureEdgeMesh::edgeStatus >
typedef label value_type
 Type of values the HashTable contains. More...
 
typedef labelreference
 Type that can be used for storing into HashTable::value_type. More...
 
typedef const labelconst_reference
 Type that can be used for storing into constant. More...
 
typedef label size_type
 The type that can represent the size of a HashTable. More...
 
- Static Public Member Functions inherited from HashTableCore
static label canonicalSize (const label)
 Return a canonical (power-of-two) size. More...
 
static iteratorEnd cend ()
 iteratorEnd set to beyond the end of any HashTable More...
 
static iteratorEnd end ()
 iteratorEnd set to beyond the end of any HashTable More...
 
- Static Public Attributes inherited from HashTableCore
static const label maxTableSize
 Maximum allowable table size. More...
 

Detailed Description

Hold the types of feature edges attached to the point.

Holds information on the types of feature edges attached to feature points.

Source files

Definition at line 58 of file pointFeatureEdgesTypes.H.

Constructor & Destructor Documentation

pointFeatureEdgesTypes ( const extendedFeatureEdgeMesh feMesh,
const label  pointLabel 
)

Construct from components.

Destructor.

Member Function Documentation

List<extendedFeatureEdgeMesh::edgeStatus> calcPointFeatureEdgesTypes ( )

Fill the pointFeatureEdgesType class with the types of feature.

edges that are attached to the point.

Friends And Related Function Documentation

Ostream& operator<< ( Ostream os,
const pointFeatureEdgesTypes p 
)
friend

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