MIRA
Classes | Namespaces | Typedefs | Functions
TimeHumanReadable.h File Reference

Extension of time types for human-readable serialization. More...

#include <utils/Time.h>
#include <error/Exceptions.h>
#include <serialization/ReflectControlFlags.h>
#include <serialization/Accessor.h>
#include <serialization/PropertySerializer.h>
#include <utils/IsCheapToCopy.h>
Include dependency graph for TimeHumanReadable.h:

Go to the source code of this file.

Classes

class  Date< AsString >
 Derivation of mira::Date with human-readable serialization. More...
 
class  IsCheapToCopy< DateSerializedAsIsoString >
 
class  IsCheapToCopy< DateSerializedAsYMD >
 
class  Duration< AsString >
 Derivation of mira::Duration with human-readable serialization. More...
 
class  IsCheapToCopy< DurationSerializedAsIsoString >
 
class  IsCheapToCopy< DurationSerializedAsHMS >
 
class  Time< AsString >
 Derivation of mira::Time with human-readable serialization. More...
 
class  IsTransparentSerializable< DateSerializedAsIsoString, SerializerTag >
 
class  IsTransparentSerializable< DurationSerializedAsIsoString, SerializerTag >
 
class  IsTransparentSerializable< TimeSerializedAsIsoString, SerializerTag >
 
class  IsCheapToCopy< TimeSerializedAsIsoString >
 
class  IsCheapToCopy< TimeSerializedAsYMDHMS >
 
struct  TimeTypesSerializedAsElements
 A tag type used as parameter type in humanReadableGetter, humanReadableSetter, humanReadableAccessor to select serialization as individual components (year/month/day etc.) More...
 

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 
 mira::HumanReadableSerialization
 The serialization of time-related types Time, Date and Duration is primarily aimed at efficiency and precision.
 

Typedefs

using DateSerializedAsIsoString = HumanReadableSerialization::Date< true >
 Derivation of mira::Date with serialization as string. More...
 
using DateSerializedAsYMD = HumanReadableSerialization::Date< false >
 Derivation of mira::Date with serialization as year/month/day members. More...
 
using DurationSerializedAsIsoString = HumanReadableSerialization::Duration< true >
 Derivation of mira::Duration with serialization as string. More...
 
using DurationSerializedAsHMS = HumanReadableSerialization::Duration< false >
 Derivation of mira::Duration with serialization as hours/minutes/seconds/milli-/microseconds members. More...
 
using TimeSerializedAsIsoString = HumanReadableSerialization::Time< true >
 Derivation of mira::Time with serialization as string. More...
 
using TimeSerializedAsYMDHMS = HumanReadableSerialization::Time< false >
 Derivation of mira::Time with serialization as year/month/day/hour/... members. More...
 

Functions

template<typename Reflector >
void reflectRead (Reflector &r, DateSerializedAsIsoString &date)
 
template<typename Reflector >
void reflectRead (Reflector &r, DateSerializedAsYMD &date)
 
template<typename Reflector >
void reflectWrite (Reflector &r, DateSerializedAsIsoString &date)
 
template<typename Reflector >
void reflectWrite (Reflector &r, DateSerializedAsYMD &date)
 
void reflect (PropertySerializer &r, DateSerializedAsYMD &date)
 
Getter< DateSerializedAsIsoString > humanReadableGetter (const Date &date)
 In addition to classes which can replace Date/Duration/Time, there are getters/setters/accessors for objects of these plain types. More...
 
Setter< DateSerializedAsIsoString > humanReadableSetter (Date &date)
 Setter for Date using DateSerializedAsIsoString proxy. More...
 
Accessor< Getter< DateSerializedAsIsoString >, Setter< DateSerializedAsIsoString > > humanReadableAccessor (Date &date)
 Accessor for Date using DateSerializedAsIsoString proxy. More...
 
Getter< DateSerializedAsYMD > humanReadableGetter (const Date &date, TimeTypesSerializedAsElements)
 Getter for Date using DateSerializedAsYMD proxy. More...
 
Setter< DateSerializedAsYMD > humanReadableSetter (Date &date, TimeTypesSerializedAsElements)
 Setter for Date using DateSerializedAsYMD proxy. More...
 
Accessor< Getter< DateSerializedAsYMD >, Setter< DateSerializedAsYMD > > humanReadableAccessor (Date &date, TimeTypesSerializedAsElements)
 Accessor for Date using DateSerializedAsYMD proxy. More...
 
Getter< DurationSerializedAsIsoString > humanReadableGetter (const Duration &duration)
 Getter for Duration using DurationSerializedAsIsoString proxy. More...
 
Setter< DurationSerializedAsIsoString > humanReadableSetter (Duration &duration)
 Setter for Duration using DurationSerializedAsIsoString proxy. More...
 
Accessor< Getter< DurationSerializedAsIsoString >, Setter< DurationSerializedAsIsoString > > humanReadableAccessor (Duration &duration)
 Accessor for Duration using DurationSerializedAsIsoString proxy. More...
 
Getter< DurationSerializedAsHMS > humanReadableGetter (const Duration &duration, TimeTypesSerializedAsElements)
 Getter for Duration using DurationSerializedAsHMS proxy. More...
 
Setter< DurationSerializedAsHMS > humanReadableSetter (Duration &duration, TimeTypesSerializedAsElements)
 Setter for Duration using DurationSerializedAsHMS proxy. More...
 
Accessor< Getter< DurationSerializedAsHMS >, Setter< DurationSerializedAsHMS > > humanReadableAccessor (Duration &duration, TimeTypesSerializedAsElements)
 Accessor for Duration using DurationSerializedAsHMS proxy. More...
 
Getter< TimeSerializedAsIsoString > humanReadableGetter (const Time &time)
 Getter for Time using TimeSerializedAsIsoString proxy. More...
 
Setter< TimeSerializedAsIsoString > humanReadableSetter (Time &time)
 Setter for Time using TimeSerializedAsIsoString proxy. More...
 
Accessor< Getter< TimeSerializedAsIsoString >, Setter< TimeSerializedAsIsoString > > humanReadableAccessor (Time &time)
 Accessor for Time using TimeSerializedAsIsoString proxy. More...
 
Getter< TimeSerializedAsYMDHMS > humanReadableGetter (const Time &time, TimeTypesSerializedAsElements)
 Getter for Time using TimeSerializedAsYMDHMS proxy. More...
 
Setter< TimeSerializedAsYMDHMS > humanReadableSetter (Time &time, TimeTypesSerializedAsElements)
 Setter for Time using TimeSerializedAsYMDHMS proxy. More...
 
Accessor< Getter< TimeSerializedAsYMDHMS >, Setter< TimeSerializedAsYMDHMS > > humanReadableAccessor (Time &time, TimeTypesSerializedAsElements)
 Accessor for Time using TimeSerializedAsYMDHMS proxy. More...
 

Detailed Description

Extension of time types for human-readable serialization.

Author
Christof Schröter
Date
2024/09/19