FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | List of all members

A sequence of Grid objects with identifiers. More...

#include <GridList.hpp>

Inheritance diagram for Fiber::GridList:
Fiber::GridContainer MemCore::Ageable

Public Types

typedef std::set< string > stringset_t
 A set of strings.
 

Public Member Functions

RefPtr< GridIDoperator[] (const string &gridname)
 Create a Grid ID from a textual name, if it does not yet exist.
 
RefPtr< GridIDoperator() (const string &gridname) const
 Find a GridID from a textual name, same as find() member function.
 
RefPtr< GridIDfind (const string &gridname) const
 Find a Grid Id from textual name.
 
const IDs_tgetGridIdentifiers () const
 
int getGridnames (stringset_t &Gridnames) const
 Get a set of all grid names defined on this GridList.
 
size_t getNumberOfGrids () const
 The number of Grid objects stored here.
 
- Public Member Functions inherited from Fiber::GridContainer
 GridContainer ()
 Constructor.
 
 ~GridContainer ()
 Destructor.
 
- Public Member Functions inherited from MemCore::Ageable
constexpr Ageable (age_t t) noexcept
 
constexpr Ageable (const Ageable &A) noexcept
 
 Ageable (const volatile Ageable &A) noexcept
 
constexpr const AgeablegetAge () const
 
bool isNewerThan (const Ageable &a) const noexcept
 
bool isOlderThan (const Ageable &a) const noexcept
 
bool isYoungerThan (const Ageable &a) const noexcept
 
bool operator!= (const Ageable &a) const noexcept
 
bool operator< (const Ageable &a) const noexcept
 
bool operator<= (const Ageable &a) const noexcept
 
bool operator<= (const volatile Ageable &a) const volatile noexcept
 
bool operator== (const Ageable &a) const noexcept
 
bool operator> (const Ageable &a) const noexcept
 
bool operator> (const volatile Ageable &a) const volatile
 
bool operator>= (const Ageable &a) const noexcept
 
bool operator>= (const volatile Ageable &a) const volatile noexcept
 
constexpr void resetAge () noexcept
 
void setInfinitelyNew () noexcept
 
age_t time_value () const noexcept
 
age_t time_value () const volatile noexcept
 
Ageabletouch () noexcept
 
age_t update (age_t age) noexcept
 
age_t update (const Ageable &Other) noexcept
 
age_t update (const volatile Ageable &Other) volatile noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from MemCore::Ageable
static const AgeableInfinitelyNew () noexcept
 
static constexpr const AgeableInfinitelyOld () noexcept
 
static age_t now () noexcept
 
- Public Attributes inherited from Fiber::GridContainer
RefPtr< ChartStandardChart
 A default chart.
 

Detailed Description

A sequence of Grid objects with identifiers.

Member Function Documentation

◆ operator[]()

RefPtr< GridID > Fiber::GridList::operator[] ( const string &  gridname)

Create a Grid ID from a textual name, if it does not yet exist.

Note that the result is NOT an lvalue, and the result of the [] operator cannot be assigned! If a new GridID is created, it can be modified, but new Grid's must only be created within here.

References find(), and std::set< typename _Key, typename _Compare, typename _Alloc >::insert().