libebml_ng
childElemHelper_t.h
Go to the documentation of this file.
1 #ifndef EBML_NG_LAZYLOAD_HELPER_H
2 #define EBML_NG_LAZYLOAD_HELPER_H
3 
4 // #include <unistd.h>
5 // #include "ebmlLazyLoad.h"
6 // #include <unordered_map>
7 // #include <map>
8 // #include <unordered_set>
9 // #include <mutex>
10 // #include <shared_mutex>
11 //
12 // #include "base.h"
13 // #include "../seekdata.h"
14 // #include "../exceptions.h"
15 // #include "../ebmlDataElement.h"
16 #include "../../ebmlElement.h"
17 
18 
19 namespace ebml {
20  class ebmlLazyLoad;
21 
23  public:
26 
27  protected:
28  virtual void _onBeforeInsert(ebmlLazyLoad&, off_t, const ebmlElement_sp&) const;
29  virtual void _onAfterInsert(ebmlLazyLoad&, off_t, const ebmlElement_sp&, seekData_t*) const;
30  virtual void _onBeforeMove(ebmlLazyLoad&) const;
31  virtual void _onAfterMove(ebmlLazyLoad&) const;
32  virtual void _onBeforeRemove(ebmlLazyLoad&) const;
33  virtual void _onAfterRemove(ebmlLazyLoad&) const;
34  friend class ebmlLazyLoad;
35  };
36 
38 
39 }
40 
41 #endif
virtual void _onBeforeInsert(ebmlLazyLoad &, off_t, const ebmlElement_sp &) const
Definition: childElemHelper_t.cpp:20
virtual void _onBeforeRemove(ebmlLazyLoad &) const
Definition: childElemHelper_t.cpp:24
Definition: childElemHelper_t.h:22
Represents parsed seek data extracted from an EBML element.
Definition: seekdata.h:39
virtual void _onAfterInsert(ebmlLazyLoad &, off_t, const ebmlElement_sp &, seekData_t *) const
Definition: childElemHelper_t.cpp:21
Definition: basictypes.h:40
A drop-in replacement for std::shared_ptr tailored for EBML objects.
Definition: ptrs.h:27
childElemHelper_t()
Definition: childElemHelper_t.cpp:19
virtual void _onAfterRemove(ebmlLazyLoad &) const
Definition: childElemHelper_t.cpp:25
Represents an EBML Master Element with on-disk, transactional child management.
Definition: ebmlLazyLoad.h:85
virtual void _onBeforeMove(ebmlLazyLoad &) const
Definition: childElemHelper_t.cpp:22
virtual void _onAfterMove(ebmlLazyLoad &) const
Definition: childElemHelper_t.cpp:23
childElemHelper_t childHelper
Definition: childElemHelper_t.cpp:27