test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IBlobStreamingService.h
Go to the documentation of this file.
1 #ifndef INCLUDE_ORA_IBLOBSTREAMINGSERVICE_H
2 #define INCLUDE_ORA_IBLOBSTREAMINGSERVICE_H
3 
4 #include <boost/shared_ptr.hpp>
5 
6 namespace coral {
7  class Blob;
8 }
9 
10 namespace edm {
11  class TypeWithDict;
12 }
13 
14 namespace ora {
15 
18  {
19  public:
22 
23  virtual boost::shared_ptr<coral::Blob> write( const void* addressOfInputData, const edm::TypeWithDict & classDictionary, bool useCompression = true ) = 0;
24 
26  virtual void read( const coral::Blob& blobData, void* addressOfContainer, const edm::TypeWithDict& classDictionary ) = 0;
27  };
28 
29 }
30 
31 #endif
virtual ~IBlobStreamingService()
Empty destructor.
Interface for a Streaming Service.
virtual void read(const coral::Blob &blobData, void *addressOfContainer, const edm::TypeWithDict &classDictionary)=0
Reads an object from a Blob and fills-in the container.
virtual boost::shared_ptr< coral::Blob > write(const void *addressOfInputData, const edm::TypeWithDict &classDictionary, bool useCompression=true)=0