Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
Nektar::FlagList Class Reference

Defines a list of flags. More...

#include <NektarUnivTypeDefs.hpp>

Collaboration diagram for Nektar::FlagList:
Collaboration graph
[legend]

Public Member Functions

void set (const FlagType &key, bool value)
bool isSet (const FlagType &key) const

Private Attributes

std::map< FlagType, bool > m_data

Detailed Description

Defines a list of flags.

Definition at line 91 of file NektarUnivTypeDefs.hpp.

Member Function Documentation

bool Nektar::FlagList::isSet ( const FlagType key) const
inline
void Nektar::FlagList::set ( const FlagType key,
bool  value 
)
inline

Definition at line 94 of file NektarUnivTypeDefs.hpp.

References m_data.

{
m_data[key] = value;
}

Member Data Documentation

std::map<FlagType, bool> Nektar::FlagList::m_data
private

Definition at line 104 of file NektarUnivTypeDefs.hpp.

Referenced by isSet(), and set().