Key class. More...

#include <connector.hh>

Public Member Functions

uint key () const
 Returns the key. More...
 Key (uint key=0)
 Default constructor. More...
 operator uint () const
 Returns the key. More...
int operator== (const Key &key) const
 Comparison operator. More...

Static Public Member Functions

static uint noKey ()
 Returns a key which never occurs. More...

Private Attributes

uint key_


std::ostream & operator<< (std::ostream &os, const Key &k)

Detailed Description

Key class.

Used for the enumeration of topological elements (connectors). It might be usefull to have topological elements with a key with more features...

Definition at line 53 of file connector.hh.

Constructor & Destructor Documentation

◆ Key()

concepts::Key::Key ( uint  key = 0)

Default constructor.

Definition at line 57 of file connector.hh.

Member Function Documentation

◆ key()

uint concepts::Key::key ( ) const

Returns the key.

Definition at line 66 of file connector.hh.

◆ noKey()

static uint concepts::Key::noKey ( )

Returns a key which never occurs.

Definition at line 69 of file connector.hh.

◆ operator uint()

concepts::Key::operator uint ( ) const

Returns the key.

Definition at line 63 of file connector.hh.

◆ operator==()

int concepts::Key::operator== ( const Key key) const

Comparison operator.

Definition at line 60 of file connector.hh.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Key k 

Member Data Documentation

◆ key_

uint concepts::Key::key_

Definition at line 71 of file connector.hh.

The documentation for this class was generated from the following file:
Page URL:
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich