ldas-tools-diskcacheAPI  2.7.1
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
diskCache::Streams::Interface Class Reference

Interface for core stream. More...

#include <StreamsInterface.hh>

Inheritance diagram for diskCache::Streams::Interface:
Inheritance graph
[legend]

Public Types

enum  version_tag_type {
  VERSION_NONE = 0x0000 , VERSION_PROTOTYPE = 0xFFFF , VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 ,
  VERSION_MULTIPLE_EXTENSIONS = 0x0101 , VERSION_ONLINE_STATUS = 0x0102 , VERSION_GENERIC_INDEXES = 0x0103 , VERSION_NONE = 0x0000 ,
  VERSION_PROTOTYPE = 0xFFFF , VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 , VERSION_MULTIPLE_EXTENSIONS = 0x0101 ,
  VERSION_ONLINE_STATUS = 0x0102 , VERSION_GENERIC_INDEXES = 0x0103 , VERSION_NONE = 0x0000 , VERSION_PROTOTYPE = 0xFFFF ,
  VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 , VERSION_MULTIPLE_EXTENSIONS = 0x0101 , VERSION_ONLINE_STATUS = 0x0102 ,
  VERSION_GENERIC_INDEXES = 0x0103
}
 
enum  version_tag_type {
  VERSION_NONE = 0x0000 , VERSION_PROTOTYPE = 0xFFFF , VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 ,
  VERSION_MULTIPLE_EXTENSIONS = 0x0101 , VERSION_ONLINE_STATUS = 0x0102 , VERSION_GENERIC_INDEXES = 0x0103 , VERSION_NONE = 0x0000 ,
  VERSION_PROTOTYPE = 0xFFFF , VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 , VERSION_MULTIPLE_EXTENSIONS = 0x0101 ,
  VERSION_ONLINE_STATUS = 0x0102 , VERSION_GENERIC_INDEXES = 0x0103 , VERSION_NONE = 0x0000 , VERSION_PROTOTYPE = 0xFFFF ,
  VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 , VERSION_MULTIPLE_EXTENSIONS = 0x0101 , VERSION_ONLINE_STATUS = 0x0102 ,
  VERSION_GENERIC_INDEXES = 0x0103
}
 
enum  version_tag_type {
  VERSION_NONE = 0x0000 , VERSION_PROTOTYPE = 0xFFFF , VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 ,
  VERSION_MULTIPLE_EXTENSIONS = 0x0101 , VERSION_ONLINE_STATUS = 0x0102 , VERSION_GENERIC_INDEXES = 0x0103 , VERSION_NONE = 0x0000 ,
  VERSION_PROTOTYPE = 0xFFFF , VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 , VERSION_MULTIPLE_EXTENSIONS = 0x0101 ,
  VERSION_ONLINE_STATUS = 0x0102 , VERSION_GENERIC_INDEXES = 0x0103 , VERSION_NONE = 0x0000 , VERSION_PROTOTYPE = 0xFFFF ,
  VERSION_PRE_HEADER = 0x00FF , VERSION_HEADER = 0x0100 , VERSION_MULTIPLE_EXTENSIONS = 0x0101 , VERSION_ONLINE_STATUS = 0x0102 ,
  VERSION_GENERIC_INDEXES = 0x0103
}
 
typedef INT_2U version_type
 
typedef INT_2U version_type
 
typedef INT_2U version_type
 

Public Member Functions

virtual ~Interface ()
 
version_type Version () const
 
virtual ~Interface ()
 
version_type Version () const
 
virtual ~Interface ()
 
version_type Version () const
 

Protected Member Functions

void version (version_type Version)
 
void version (version_type Version)
 
void version (version_type Version)
 

Private Attributes

version_type m_version
 Current version. More...
 

Detailed Description

Interface for core stream.

Member Typedef Documentation

◆ version_type [1/3]

◆ version_type [2/3]

◆ version_type [3/3]

Member Enumeration Documentation

◆ version_tag_type [1/3]

Enumerator
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 

◆ version_tag_type [2/3]

Enumerator
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 

◆ version_tag_type [3/3]

Enumerator
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_NONE 

Version before the header was introduced.

VERSION_PROTOTYPE 

Version reserved for disk cache development.

            Production systems and programs should never try to
            interpret or generate streams of this version.
            It is reserved for development purposes when the cache
            stream is being extended. 
VERSION_PRE_HEADER 

version without the header information

            This version number is hear to create versions of the
            cache file without versioning headers. 
VERSION_HEADER 

First version with the header information.

            This is when the header first appeared in the cache file.

            All subsequent version numbers must be greater than this
            which means that 0x0001 - 0x00FF are all invalid values. 
VERSION_MULTIPLE_EXTENSIONS 

Introduction of multiple file extensions.

            Multiple file extensions allows for indexing of files
            in the S-D-G-T form that do not end in .gwf

            \note
               This mode is still under development and should not
               be used. 
VERSION_ONLINE_STATUS 

Introduction of online status.

            File contains online status field.

            \note
               This mode is still under development and should not
               be used. 
VERSION_GENERIC_INDEXES 

Introduction of generic indexes.

            Generic indexes allow for caching more than files of the
            type S-D-G-T.gwf

            \note
               This mode is still under development and should not
               be used. 

Constructor & Destructor Documentation

◆ ~Interface() [1/3]

diskCache::Streams::Interface::~Interface ( )
inlinevirtual

◆ ~Interface() [2/3]

virtual diskCache::Streams::Interface::~Interface ( )
virtual

◆ ~Interface() [3/3]

virtual diskCache::Streams::Interface::~Interface ( )
virtual

Member Function Documentation

◆ Version() [1/3]

Interface::version_type diskCache::Streams::Interface::Version ( ) const
inline

◆ Version() [2/3]

version_type diskCache::Streams::Interface::Version ( ) const

◆ Version() [3/3]

version_type diskCache::Streams::Interface::Version ( ) const

◆ version() [1/3]

void diskCache::Streams::Interface::version ( version_type  Version)
inlineprotected

◆ version() [2/3]

void diskCache::Streams::Interface::version ( version_type  Version)
protected

◆ version() [3/3]

void diskCache::Streams::Interface::version ( version_type  Version)
protected

Member Data Documentation

◆ m_version

version_type diskCache::Streams::Interface::m_version
private

Current version.

This represents the current version of the stream type. It is used by both input and output streams.


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