DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EBinarySortedFileSearch.h
Go to the documentation of this file.
1 #ifndef E_BINARY_SORTED_FILE_SEARCH_H
2 #define E_BINARY_SORTED_FILE_SEARCH_H
3 
4 #include "dataio/datainput/EBinaryRecord.h"
5 #include <string>
6 
13 namespace EM
14 {
15  namespace Strojcek
16  {
17  namespace VstupneUdaje
18  {
19  class EBinarySortedFileSearch
20  {
21  public:
25 
36  bool Init( std::string path, EBinaryRecord *prototype, unsigned short headSize = 0 );
37 
44  EBinaryRecordCol Find( std::string key, long offsetFrom = 0, long offsetTo = 0 );
45 
46  private:
47  class DataClass;
48  DataClass *d;
49  };
50  }
51  }
52 }
53 
54 #endif //E_BINARY_SORTED_FILE_SEARCH_H
~EBinarySortedFileSearch()
Definition: EBinarySortedFileSearch.cpp:131
std::list< EBinaryRecord * > EBinaryRecordCol
Definition: EBinaryRecord.h:56
bool Init(std::string path, EBinaryRecord *prototype, unsigned short headSize=0)
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
EBinarySortedFileSearch()
Definition: EBinarySortedFileSearch.cpp:118
EBinaryRecordCol Find(std::string key, long offsetFrom=0, long offsetTo=0)
Definition: EBinarySortedFileSearch.cpp:184