rasdaman complete source
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
conversion
graphic.h
Go to the documentation of this file.
1
/*
2
* This file is part of rasdaman community.
3
*
4
* Rasdaman community is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* Rasdaman community is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16
*
17
* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
18
rasdaman GmbH.
19
*
20
* For more information please see <http://www.rasdaman.org>
21
* or contact Peter Baumann via <baumann@rasdaman.com>.
22
*/
23
24
25
#ifndef __GRAPHIC_H_INCLUDED
26
#define __GRAPHIC_H_INCLUDED
27
28
#include<vector>
29
#include<iostream>
30
#include<fstream>
31
32
namespace
RasNITF
33
{
34
35
class
graphic
36
{
37
private
:
38
char
m_sy[2];
39
char
m_sid[10];
40
char
m_sname[20];
41
char
m_ssclas[1];
42
char
m_ssclsy[2];
43
char
m_sscode[11];
44
char
m_ssctlh[2];
45
char
m_ssrel[20];
46
char
m_ssdctp[2];
47
char
m_ssdcdt[8];
48
char
m_ssdcxm[4];
49
char
m_ssdg[1];
50
char
m_ssdgdt[8];
51
char
m_sscltx[43];
52
char
m_sscatp[1];
53
char
m_sscaut[40];
54
char
m_sscrsn[1];
55
char
m_sssrdt[8];
56
char
m_ssctln[15];
57
char
m_encryp[1];
58
char
m_stype[1];
59
char
m_sres1[13];
60
char
m_sdlvl[3];
61
char
m_salvl[3];
62
char
m_sloc[10];
63
char
m_sbnd1[10];
64
char
m_scolor[1];
65
char
m_sbnd2[10];
66
char
m_sres2[2];
67
char
m_sxshdl[5];
68
char
m_sxsofl[3];
69
char
* m_sxshd;
70
char
*m_graphic_data;
71
72
int
header_length;
73
int
data_length;
74
int
n_sxshdl;
75
int
n_sxsofl;
76
77
std::string graphic_hl ;
78
std::string graphic_dl ;
79
80
public
:
81
graphic
();
82
~graphic
();
83
int
read_file
(std::istream&,
long
,
long
);
84
int
write_file
(std::ofstream &);
85
std::string
get_ls
();
86
std::string
get_lssh
();
87
};
88
89
}
90
91
#endif
RasNITF::graphic::write_file
int write_file(std::ofstream &)
RasNITF::graphic
Definition:
graphic.h:35
RasNITF::graphic::get_lssh
std::string get_lssh()
RasNITF::graphic::read_file
int read_file(std::istream &, long, long)
RasNITF
Definition:
des.h:32
RasNITF::graphic::~graphic
~graphic()
RasNITF::graphic::get_ls
std::string get_ls()
RasNITF::graphic::graphic
graphic()
Generated on Sat Mar 7 2015 23:10:27 for rasdaman complete source by
1.8.8