blob: 64a216c781b74122d71c6426070292e4e0f5ea25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
//-----------------------------------------------------------------------------
// BSPLIB HEADER: AodFormat.h
//
// Copyright (c) 1997 by Markus Hadwiger
// All Rights Reserved.
//-----------------------------------------------------------------------------
#ifndef _AODFORMAT_H_
#define _AODFORMAT_H_
// bsplib header files
#include "BspLibDefs.h"
#include "SingleFormat.h"
BSPLIB_NAMESPACE_BEGIN
// class containing aod format specifics --------------------------------------
//
class AodFormat : public virtual SingleFormat {
protected:
// section enumeration
enum {
_num_aod_sections = _num_single_sections
};
//protected:
public:
AodFormat() { }
~AodFormat() { }
AodFormat( const AodFormat& copyobj ) : SingleFormat( copyobj ) { }
AodFormat& operator =( const AodFormat& copyobj );
protected:
static int GetSectionId( char *section_name );
static const char* GetSectionName( int section_id );
protected:
static const char _aodsig_str[];
static const char AOD_FILE_EXTENSION[];
};
// assignment operator --------------------------------------------------------
inline AodFormat& AodFormat::operator =( const AodFormat& copyobj )
{
*(SingleFormat *)this = copyobj;
return *this;
}
BSPLIB_NAMESPACE_END
#endif // _AODFORMAT_H_
|