![]() |
Scanframe Modular Application 0.1.0
|
This base class contains all local types of used in the sf::ResultData class.
Multiple inheritance makes these types local for other classes as well.
Making code more readable and also prevents name space problems.
More...
#include <ResultDataTypes.h>
Classes | |
struct | Definition |
Structure used to setup a result reference. More... | |
Public Types | |
enum | EEvent : int { reNewId = -32000 , reUserGlobal , reFirstLocal = 0 , reFlagsChange , reAccessChange , reCommitted , reReserve , reInvalid , reClear , reUserLocal , reFirstPrivate = 16000 , reSetup , reIdChanged , reDesiredId , reRemove , reGetOwner , reLostOwner , reLinked , reUnlinked , reGotRange , reGetRange , reUserPrivate } |
Event enumerate values used in broadcasting where global events have a negative value. More... | |
enum | EField : int { rfId = 0 , rfName , rfFlags , rfDescription , rfType , rfBlockSize , rfSegmentSize , rfSigBits , rfOffset } |
This enumerate is the order of fields in the setup string. More... | |
enum | EType : int { rtInvalid = 0 , rtString , rtInt8 , rtInt16 , rtInt32 , rtInt64 , rtLastEntry } |
This enumerate is used to identify the type of data. More... | |
enum | EFlag : flags_type { flgRecycle = 1 << 0 , flgArchive = 1 << 1 , flgShare = 1 << 2 , flgHidden = 1 << 3 } |
Flags of the flags description field. More... | |
enum | ERangeInfo { riAvailable = 1 << 0 , riAccessible = 1 << 1 , riPartialAccessible = 1 << 2 , riRequested = 1 << 3 , riAddressable = 1 << 5 , riSegmented = 1 << 4 } |
Enumerate for range information bit values. More... | |
typedef TVector< ResultData * > | PtrVector |
Vector for pointer to results. | |
typedef TVector< ResultData > | Vector |
Vector for instances of results. | |
typedef TVector< ResultDataReference * > | ReferenceVector |
Type for internal use. | |
![]() | |
typedef unsigned long long | id_type |
Type used for the identifying integer (64-bits). | |
typedef int32_t | flags_type |
Type used for the flag integer. | |
typedef size_t | size_type |
Type used for size of vectors. | |
typedef uint64_t | data_type |
Type used for containing a single data element which is the largest integer. | |
typedef int64_t | sdata_type |
Type used for containing a single data element which is the largest signed integer. | |
typedef TVector< id_type > | IdVector |
Vector for lists of information ID's. | |
typedef TVector< InformationBase * > | Vector |
Vector for containing different information base derived classes. | |
Additional Inherited Members | |
![]() | |
template<typename T > | |
constexpr std::enable_if_t<(sizeof(T)<=sizeof(data_type)), data_type > | toDataType (T value) const |
Casts any type to a data_type value. | |
template<typename T > | |
constexpr std::enable_if_t<(sizeof(T)<=sizeof(data_type)), T > | fromDataType (data_type value) const |
Casts a data_type value to a given type. | |
![]() | |
static constexpr size_t | npos = std::numeric_limits<size_type>::max() |
Unsigned size value indicating not found or no index. | |
This base class contains all local types of used in the sf::ResultData class.
Multiple inheritance makes these types local for other classes as well.
Making code more readable and also prevents name space problems.
typedef TVector<ResultData*> sf::ResultDataTypes::PtrVector |
Vector for pointer to results.
Type for internal use.
typedef TVector<ResultData> sf::ResultDataTypes::Vector |
Vector for instances of results.
enum sf::ResultDataTypes::EEvent : int |
Event enumerate values used in broadcasting where global events have a negative value.
enum sf::ResultDataTypes::EField : int |
This enumerate is the order of fields in the setup string.
Enumerator | |
---|---|
rfId | Identifier field. |
rfName | Name field. |
rfFlags | Flags field. |
rfDescription | description field. |
rfType | Type string field
|
rfBlockSize | Size of the block in amount of types. |
rfSegmentSize | Size of segment in blocks. |
rfSigBits | Significant bits for this instance this can not be larger then the bit count of the type. |
rfOffset | Negative offset of values. To get the real value clients must subtract this value from the read unsigned value. |
Flags of the flags description field.
Enumerate for range information bit values.
Enumerator | |
---|---|
riAvailable | Range is available. |
riAccessible | Range is fully accessible. |
riPartialAccessible | Range is partial accessible. |
riRequested | Range is already requested and the transaction id is returned in tranid |
riAddressable | Range is addressable. |
riSegmented | Range is spread over multiple segments. |
enum sf::ResultDataTypes::EType : int |
This enumerate is used to identify the type of data.