CMS 3D CMS Logo

Binary.h
Go to the documentation of this file.
1 #ifndef CondCore_CondDB_Binary_h
2 #define CondCore_CondDB_Binary_h
3 
4 #include <string>
5 #include <memory>
6 // temporarely
7 //
8 
9 namespace coral {
10  class Blob;
11 }
12 
13 namespace cond {
14 
15  class Binary {
16  public:
17  Binary();
18 
19  Binary( const void* data, size_t size );
20 
21  explicit Binary( const coral::Blob& data );
22 
23  Binary( const Binary& rhs );
24 
25  Binary& operator=( const Binary& rhs );
26 
27  const coral::Blob& get() const;
28 
29  void copy( const std::string& source );
30 
31  const void* data() const;
32 
33  void* data();
34 
35  size_t size() const;
36 
37  private:
38  std::shared_ptr<coral::Blob> m_data;
39  };
40 
41 }
42 
43 #endif
44 
size
Write out results.
def copy(args, dbName)
std::shared_ptr< coral::Blob > m_data
Definition: Binary.h:38
Definition: Binary.h:9
Definition: plugin.cc:24
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
static std::string const source
Definition: EdmProvDump.cc:47