BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslx::VersionFunctions_NonFundamentalImpl< TYPE > Struct Template Reference

#include <bslx_versionfunctions.h>

Static Public Member Functions

static int maxSupportedBdexVersion (int versionSelector)
 
static int maxSupportedBdexVersion ()
 

Detailed Description

template<class TYPE>
struct bslx::VersionFunctions_NonFundamentalImpl< TYPE >

This struct provides a namespace for functions used to obtain the BDEX-compliant version information for vectors and types requiring a TYPE::maxSupportedBdexVersion method as per the BDEX protocol (see the bslx package-level documentation).

Member Function Documentation

◆ maxSupportedBdexVersion() [1/2]

template<class TYPE >
int bslx::VersionFunctions_NonFundamentalImpl< TYPE >::maxSupportedBdexVersion ( )
inlinestatic

Return the maximum valid BDEX format version to be passed to the bdexStreamOut method while streaming an object of the (template parameter) type TYPE. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

◆ maxSupportedBdexVersion() [2/2]

template<class TYPE >
int bslx::VersionFunctions_NonFundamentalImpl< TYPE >::maxSupportedBdexVersion ( int  versionSelector)
inlinestatic

Return the maximum valid BDEX format version, as indicated by the specified versionSelector, to be passed to the bdexStreamOut method while streaming an object of the (template parameter) type TYPE. Note that it is highly recommended that versionSelector be formatted as "YYYYMMDD", a date representation. Also note that versionSelector should be a compile-time-chosen value that selects a format version supported by both externalizer and unexternalizer. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.


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