Feel++  0.91.4
Public Types | Public Member Functions | List of all members
Feel::BareItemsHandler< BareItem > Class Template Reference
Inheritance diagram for Feel::BareItemsHandler< BareItem >:

Public Types

typedef std::map< BareItem,
Feel::size_type, cmpBareItem
< BareItem > > 
container
 
typedef container::size_type size_type
 
typedef container::iterator iterator
 
typedef container::const_iterator const_iterator
 
typedef std::pair< const
BareItem, size_type > 
value_type
 

Public Member Functions

 BareItemsHandler ()
 is the item there? I just ask
 
bool isThere (BareItem const &) const
 Returns size_type of a BareItem. 0 if not there.
 
size_type id (BareItem const &) const
 To modify size_type of bareitem item in the list.
 
bool setId (BareItem const &item, size_type const i)
 if not there adds it, the item size_type is autogenerated
 
std::pair< size_type, bool > addIfNotThere (BareItem const &)
 if not there adds it, and sets size_type id
 
std::pair< size_type, bool > addIfNotThere (BareItem const &, const size_type id)
 if it is there take it out (Id is lost)
 
bool isThereDel (BareItem const &)
 The # of entities ones actually stored.
 
size_type howMany () const
 Max size_type currently in use.
 
size_type maxId () const
 Writes info in output.
 
void showMe () const