ldas-tools-diskcacheAPI  2.6.3
Public Types | Public Member Functions | Protected Member Functions | List of all members
diskCache::Streams::OInterface Class Reference

Interface for output streams. More...

#include <StreamsInterface.hh>

Inheritance diagram for diskCache::Streams::OInterface:
diskCache::Streams::Interface diskCache::Streams::OASCII diskCache::Streams::OBinary

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
}
 
typedef INT_2U version_type
 

Public Member Functions

 OInterface (version_type Version)
 
version_type Version () const
 

Protected Member Functions

void version (version_type Version)
 

Detailed Description

Interface for output streams.

Member Typedef Documentation

◆ version_type

Member Enumeration Documentation

◆ version_tag_type

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.

Constructor & Destructor Documentation

◆ OInterface()

diskCache::Streams::OInterface::OInterface ( version_type  Version)
inline

Member Function Documentation

◆ Version()

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

◆ version()

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

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