BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslx::VersionFunctions_Impl Namespace Reference

Functions

template<class TYPE >
int maxSupportedBdexVersion (int, const VersionFunctions_DoesNotHaveBdexVersion &)
 
template<class TYPE >
int maxSupportedBdexVersion (int versionSelector, const VersionFunctions_HasBdexVersion &)
 
template<class TYPE >
int maxSupportedBdexVersion (int versionSelector)
 
template<class TYPE >
int maxSupportedBdexVersion (const VersionFunctions_DoesNotHaveBdexVersion &)
 
template<class TYPE >
int maxSupportedBdexVersion (const VersionFunctions_HasBdexVersion &)
 
template<class TYPE >
int maxSupportedBdexVersion ()
 

Function Documentation

◆ maxSupportedBdexVersion() [1/6]

template<class TYPE >
int bslx::VersionFunctions_Impl::maxSupportedBdexVersion ( )
inline

Return the maximum valid BDEX format version to be passed to the bdexStreamOut method while streaming an object of the (template parameter) type TYPE. Note that this function assumes the TYPE is neither const nor volatile. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

◆ maxSupportedBdexVersion() [2/6]

template<class TYPE >
int bslx::VersionFunctions_Impl::maxSupportedBdexVersion ( const VersionFunctions_DoesNotHaveBdexVersion )
inline

Return k_NO_VERSION. Note that this function is called only for enumerations, fundamental types, and bsl::string, which do not require versioning as per the BDEX protocol.

◆ maxSupportedBdexVersion() [3/6]

template<class TYPE >
int bslx::VersionFunctions_Impl::maxSupportedBdexVersion ( const VersionFunctions_HasBdexVersion )
inline

Return the maximum valid BDEX format version to be passed to the bdexStreamOut method while streaming an object of the (template parameter) type TYPE. Note that this function assumes the TYPE is neither const nor volatile and that this function is called only for types which are not enumerations, not fundamental types, and not bsl::string (vectors and other BDEX-compliant types will use this function). See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

◆ maxSupportedBdexVersion() [4/6]

template<class TYPE >
int bslx::VersionFunctions_Impl::maxSupportedBdexVersion ( int  versionSelector)
inline

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. Also note that this function assumes the TYPE is neither const nor volatile. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

◆ maxSupportedBdexVersion() [5/6]

template<class TYPE >
int bslx::VersionFunctions_Impl::maxSupportedBdexVersion ( int  versionSelector,
const VersionFunctions_HasBdexVersion  
)
inline

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. Also note that this function assumes the TYPE is neither const nor volatile and that this function is called only for types which are not enumerations, not fundamental types, and not bsl::string (vectors and other BDEX-compliant types will use this function). See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

◆ maxSupportedBdexVersion() [6/6]

template<class TYPE >
int bslx::VersionFunctions_Impl::maxSupportedBdexVersion ( int  ,
const VersionFunctions_DoesNotHaveBdexVersion  
)
inline

Return k_NO_VERSION. Note that this function is called only for enumerations, fundamental types, and bsl::string, which do not require versioning as per the BDEX protocol.