MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / DbImplementation

Class DbImplementation

src/common/classes/DbImplementation.h:37–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace Firebird {
36
37class DbImplementation
38{
39public:
40 explicit DbImplementation(const Ods::header_page* h);
41 DbImplementation (UCHAR p_cpu, UCHAR p_os, UCHAR p_cc, UCHAR p_flags)
42 : di_cpu(p_cpu), di_os(p_os), di_cc(p_cc), di_flags(p_flags)
43 { }
44 ~DbImplementation() { }
45
46private:
47 UCHAR di_cpu, di_os, di_cc, di_flags;
48
49public:
50 const char* cpu() const;
51 const char* os() const;
52 const char* cc() const;
53 const char* endianess() const;
54 string implementation() const;
55
56 bool compatible(const DbImplementation& v) const;
57 void store(Ods::header_page* h) const;
58 void stuff(UCHAR** info) const;
59 static DbImplementation pick(const UCHAR* info);
60 UCHAR backwardCompatibleImplementation() const;
61 static DbImplementation fromBackwardCompatibleByte(UCHAR bcImpl);
62
63 static const DbImplementation current;
64};
65
66} //namespace Firebird

Callers 3

PAG_header_initFunction · 0.85
pickMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected