libpressio 0.93.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pressio_versionable Class Referenceabstract

#include <versionable.h>

Inheritance diagram for pressio_versionable:
Inheritance graph
[legend]

Public Member Functions

virtual ~pressio_versionable ()=default
 
virtual const char * version () const =0
 
virtual uint64_t epoch_version () const
 
virtual int major_version () const
 
virtual int minor_version () const
 
virtual int patch_version () const
 

Detailed Description

interface for objects which have version information in libpressio

Constructor & Destructor Documentation

◆ ~pressio_versionable()

virtual pressio_versionable::~pressio_versionable ( )
virtualdefault

virtual default destructor

Member Function Documentation

◆ epoch_version()

virtual uint64_t pressio_versionable::epoch_version ( ) const
virtual

a LibPressio version specific version number incremented whenever the major version does not reliably reflect backwards incompatability, it is never reset to a lower value. It defaults to 0.

See also
pressio_io_major_version for the semantics this function should obey

◆ major_version()

virtual int pressio_versionable::major_version ( ) const
virtual

get the major version, default version returns 0

See also
pressio_io_major_version for the semantics this function should obey

◆ minor_version()

virtual int pressio_versionable::minor_version ( ) const
virtual

get the minor version, default version returns 0

See also
pressio_io_minor_version for the semantics this function should obey

◆ patch_version()

virtual int pressio_versionable::patch_version ( ) const
virtual

get the patch version, default version returns 0

See also
pressio_io_patch_version for the semantics this function should obey

◆ version()

virtual const char * pressio_versionable::version ( ) const
pure virtual

get a implementation specific version string for the io module

See also
pressio_io_version for the semantics this function should obey

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