OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimBinaryDataProperty.cpp
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 //*************************************************************************
6 
8 
9 RTTI_DEF1(ossimBinaryDataProperty, "ossimBinaryDataProperty", ossimProperty);
10 
12  const std::vector<unsigned char>& binaryData)
13  :ossimProperty(name),
14  theBinaryData(binaryData)
15 {
16 }
17 
19 {
20 }
21 
23 {
24  return false;
25 }
26 
28 {
29  valueResult = "Unsupported";
30 }
31 
32 const vector<unsigned char>& ossimBinaryDataProperty::getBinaryData()const
33 {
34  return theBinaryData;
35 }
36 
37 void ossimBinaryDataProperty::setBinaryData(const vector<unsigned char>& binaryData)
38 {
39  theBinaryData = binaryData;
40 }
void setBinaryData(const vector< unsigned char > &binaryData)
const vector< unsigned char > & getBinaryData() const
virtual ossimString valueToString() const
std::vector< unsigned char > theBinaryData
RTTI_DEF1(ossimBinaryDataProperty, "ossimBinaryDataProperty", ossimProperty)
virtual bool setValue(const ossimString &value)
ossimBinaryDataProperty(const ossimString &name=ossimString(""), const std::vector< unsigned char > &binaryData=std::vector< unsigned char >())