OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
include
ossim
base
ossimKeyword.h
Go to the documentation of this file.
1
//*******************************************************************
2
//
3
// License: See top level LICENSE.txt file.
4
//
5
// Author: Ken Melero
6
// Description: This class defines a keyword.
7
// NOTE: The keywordlist class cleans up all allocated
8
// memory from instantiating a keyword.
9
//
10
//********************************************************************
11
// $Id: ossimKeyword.h 9968 2006-11-29 14:01:53Z gpotts $
12
#ifndef ossimKeyword_HEADER
13
#define ossimKeyword_HEADER
14
15
#include <
ossim/base/ossimString.h
>
16
17
class
OSSIMDLLEXPORT
ossimKeyword
18
{
19
public
:
20
ossimKeyword
();
21
ossimKeyword
(
const
char
* key,
const
char
* description);
22
ossimKeyword
(
const
char
* key,
const
char
* description,
const
char
* value);
23
ossimKeyword
(
const
ossimKeyword
& src);
24
~
ossimKeyword
();
25
26
const
ossimKeyword
& operator=(
const
ossimKeyword
& kw);
27
operator
const
char
*()
const
;
28
29
const
char
* key()
const
;
30
const
char
* description()
const
;
31
const
char
* value()
const
;
32
ossimString
keyString()
const
;
33
ossimString
descriptionString()
const
;
34
ossimString
valueString()
const
;
35
36
void
setValue(
const
char
* val);
37
void
setValue(
const
ossimString
& val);
38
void
setDescription(
const
char
* desc);
39
void
setDescription(
const
ossimString
& desc);
40
41
42
friend
OSSIM_DLL
std::ostream
&
operator<<
(
std::ostream
& os,
const
ossimKeyword
& kw);
43
44
private
:
45
ossimString
theKey
;
46
ossimString
theDesc
;
47
ossimString
theValue
;
48
};
49
50
#endif
ossimKeyword::theKey
ossimString theKey
Definition:
ossimKeyword.h:45
OSSIMDLLEXPORT
#define OSSIMDLLEXPORT
Definition:
ossimConstants.h:71
operator<<
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition:
ossimAxes.h:88
ossimKeyword
Definition:
ossimKeyword.h:17
ossimKeyword::theValue
ossimString theValue
Definition:
ossimKeyword.h:47
ossimString.h
OSSIM_DLL
#define OSSIM_DLL
Definition:
ossimConstants.h:72
ossimKeyword::theDesc
ossimString theDesc
Definition:
ossimKeyword.h:46
ossim::ostream
std::basic_ostream< char > ostream
Base class for char output streams.
Definition:
ossimIosFwd.h:23
ossimString
Definition:
ossimString.h:22
Generated on Fri Aug 3 2018 08:46:50 for OSSIM - Open Source Software Image Map by
1.8.14