My Project  + 80db3
Public Types | Public Member Functions | List of all members
stored_flags< Mapping, PadBits > Class Template Reference

Load a flag set where the possible flags are known at compile-time. More...

#include "util/storedenum.hpp"

Inheritance diagram for stored_flags< Mapping, PadBits >:
[legend]
Collaboration diagram for stored_flags< Mapping, PadBits >:
[legend]

Public Types

typedef Mapping mapping_type
 
typedef Mapping::enum_type enum_type
 
typedef flags< enum_typeflag_type
 

Public Member Functions

 stored_flags (std::istream &is)
 
flag_type get ()
 

Detailed Description

template<class Mapping, size_t PadBits = 32>
class stored_flags< Mapping, PadBits >

Load a flag set where the possible flags are known at compile-time.

Inno Setup stores flag sets as packed bitfields: 1 byte for every 8 flags The only exception is that 3-byte bitfields are padded to 4 bytes for non-16-bit builds.

Definition at line 157 of file storedenum.hpp.

Member Typedef Documentation

◆ mapping_type

template<class Mapping , size_t PadBits = 32>
typedef Mapping stored_flags< Mapping, PadBits >::mapping_type

Definition at line 161 of file storedenum.hpp.

◆ enum_type

template<class Mapping , size_t PadBits = 32>
typedef Mapping::enum_type stored_flags< Mapping, PadBits >::enum_type

Definition at line 162 of file storedenum.hpp.

◆ flag_type

template<class Mapping , size_t PadBits = 32>
typedef flags<enum_type> stored_flags< Mapping, PadBits >::flag_type

Definition at line 163 of file storedenum.hpp.

Constructor & Destructor Documentation

◆ stored_flags()

template<class Mapping , size_t PadBits = 32>
stored_flags< Mapping, PadBits >::stored_flags ( std::istream &  is)
inlineexplicit

Definition at line 165 of file storedenum.hpp.

Member Function Documentation

◆ get()

template<class Mapping , size_t PadBits = 32>
flag_type stored_flags< Mapping, PadBits >::get ( )
inline

Definition at line 168 of file storedenum.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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