Object representing FA's message storage.
More...
#include <B2BITS_PubEngineDefines.h>
|
V12_API bool | operator!= (int const &lhs, MessageStorageType const &rhs) |
|
V12_API bool | operator!= (MessageStorageType const &lhs, int const &rhs) |
|
V12_API bool | operator!= (MessageStorageType const &lhs, MessageStorageType const &rhs) |
|
V12_API MessageStorageType | operator++ (MessageStorageType &lhs, int) |
| Post-increment operator.
|
|
V12_API MessageStorageType & | operator++ (MessageStorageType &rhs) |
| Pre-increment operator.
|
|
V12_API MessageStorageType | operator-- (MessageStorageType &lhs, int) |
| Post-decrement operator.
|
|
V12_API MessageStorageType & | operator-- (MessageStorageType &rhs) |
| Pre-decrement operator.
|
|
V12_API bool | operator< (MessageStorageType const &lhs, MessageStorageType const &rhs) |
|
V12_API bool | operator<= (MessageStorageType const &lhs, MessageStorageType const &rhs) |
|
V12_API bool | operator== (int const &lhs, MessageStorageType const &rhs) |
|
V12_API bool | operator== (MessageStorageType const &lhs, int const &rhs) |
|
V12_API bool | operator== (MessageStorageType const &lhs, MessageStorageType const &rhs) |
|
V12_API bool | operator> (MessageStorageType const &lhs, MessageStorageType const &rhs) |
|
V12_API bool | operator>= (MessageStorageType const &lhs, MessageStorageType const &rhs) |
|
V12_API void | swap (MessageStorageType &lhs, MessageStorageType &rhs) |
| swap() as a free function with ADL and non-throwing guarantee.
|
|
Object representing FA's message storage.
- Warning
- Don't initialize instances of this class during static initialization or you will encounter an undefined behavior.
-
This class is deprecated. Use StorageMgr instead.
Object representing FA's message storage.
Definition B2BITS_PubEngineDefines.h:175
static MessageStorageType named(std::string const &name)
Create the instance of dynamic new storage type.
static MessageStorageType total()
Get the copy of total_storageType value.
◆ MessageStorageType()
Engine::MessageStorageType::MessageStorageType |
( |
| ) |
|
|
inline |
Creates invalid storage type by default.
◆ builtin()
Create the instance of classic builtin storage type.
Instantiates new object representing builtin FIX Antenna's storage type. This is a special function. Use predefined constant object representing storage types instead.
- Exceptions
-
- Parameters
-
[in] | bmst | Engine::BuiltinMessageStorage::BuiltinMessageStorageType enumerated value to instantiate new object of MessageStorageType. |
- Returns
- New instance of MessageStorageType representing built-in message storage type of FIX Antenna.
◆ custom()
Get the copy of custom_storageType value.
- Returns
- New instance of MessageStorageType representing built-in message storage type of FIX Antenna
◆ default_()
Get the copy of default_storageType value.
- Returns
- New instance of MessageStorageType representing built-in message storage type of FIX Antenna
◆ invalid()
Get the copy of invalid_storageType value.
- Returns
- New instance of MessageStorageType representing special value - incorrectly specified storage.
◆ name()
std::string Engine::MessageStorageType::name |
( |
| ) |
const |
Get the string representation of storage type.
- Returns
- Case-sensitive string identifier of current object representing storage.
◆ named()
Create the instance of dynamic new storage type.
- Warning
- The precondition for this action is initialized FIX Antenna's engine. Any kind of static initialization will lead to undefined behavior.
- Exceptions
-
- Parameters
-
[in] | name | name of the built-in storage or name of dynamically loaded storage registered via StorageMgr. |
- Returns
- New instance of MessageStorageType representing dynamically registered FIX Antenna's storage.
◆ operator std::size_t()
Engine::MessageStorageType::operator std::size_t |
( |
| ) |
const |
|
inline |
Implicit int conversion.
In case we work with total_storageType we suppose implicit int conversion is performed and return the total number of builtin storages (statically compiled into FIX Antenna). To get the access to all available storages (named storages included) you have to use total() function. This is done to avoid problems with static initialization.
- Returns
- Index number of the storage in storage list.
◆ total()
Get the copy of total_storageType value.
- Returns
- New instance of MessageStorageType representing special value - total number of storage identifiers.
◆ totalCount()
static std::size_t Engine::MessageStorageType::totalCount |
( |
| ) |
|
|
static |
Get the total number of registered storages.
Use this function to get the real number of storages registered in StorageMgr.
- Warning
- This function shall be used after FIXAntenna engine initialization.
- Returns
- Number of registered storages.
◆ operator!= [1/3]
◆ operator!= [2/3]
◆ operator!= [3/3]
◆ operator++ [1/2]
Post-increment operator.
- Exceptions
-
◆ operator++ [2/2]
Pre-increment operator.
- Exceptions
-
◆ operator-- [1/2]
Post-decrement operator.
- Exceptions
-
◆ operator-- [2/2]
Pre-decrement operator.
- Exceptions
-
◆ operator<
◆ operator<=
◆ operator== [1/3]
◆ operator== [2/3]
◆ operator== [3/3]
◆ operator>
◆ operator>=
◆ swap
swap() as a free function with ADL and non-throwing guarantee.