Skip to content

Commit

Permalink
Adding more print to the RSMECB
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Potts committed Sep 23, 2019
1 parent ec247ab commit 2df4417
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/ossim/support_data/ossimNitfRsmecbTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class OSSIM_DLL ossimNitfRsmecbTag : public ossimNitfRegisteredTag
void parseStream(std::istream &in);
void writeStream(std::ostream &out);
void clearFields();


std::ostream &print(std::ostream &out,
const std::string &prefix = std::string()) const;

protected:
char m_parameterPowerX[XPW_SIZE + 1];
Expand All @@ -72,6 +72,8 @@ class OSSIM_DLL ossimNitfRsmecbTag : public ossimNitfRegisteredTag
void parseStream(std::istream &in);
void writeStream(std::ostream &out);
void clearFields();
std::ostream &print(std::ostream &out,
const std::string &prefix = std::string()) const;

protected:
char m_segmentCorrelationValue[FLOAT21_SIZE + 1];
Expand All @@ -90,6 +92,8 @@ class OSSIM_DLL ossimNitfRsmecbTag : public ossimNitfRegisteredTag
void parseStream(std::istream &in);
void writeStream(std::ostream &out);
void clearFields();
std::ostream &print(std::ostream &out,
const std::string &prefix = std::string()) const;

ossim_int64 getNumberOfOriginalAdjustableParametersInSubgroup() const;
bool getCSMCorrelationOptionFlag() const;
Expand Down
18 changes: 18 additions & 0 deletions src/support_data/ossimNitfRsmecbTag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ void ossimNitfRsmecbTag::ImageSpaceAdjustableParameter::clearFields()
m_parameterPowerZ[ZPW_SIZE] = '\0';
}

std::ostream &ossimNitfRsmecbTag::ImageSpaceAdjustableParameter::print(std::ostream &out,
const std::string &prefix) const
{
return out;
}

ossimNitfRsmecbTag::CorrelationSegment::CorrelationSegment()
{
clearFields();
Expand Down Expand Up @@ -64,6 +70,12 @@ void ossimNitfRsmecbTag::CorrelationSegment::clearFields()
m_segmentTauValue[FLOAT21_SIZE] = '\0';
}

std::ostream &ossimNitfRsmecbTag::CorrelationSegment::print(std::ostream &out,
const std::string &prefix) const
{
return out;
}

ossimNitfRsmecbTag::IGNEntry::IGNEntry()
{
clearFields();
Expand Down Expand Up @@ -129,6 +141,12 @@ void ossimNitfRsmecbTag::IGNEntry::clearFields()
m_betc[FLOAT21_SIZE] = '\0';
m_tc[FLOAT21_SIZE] = '\0';
}
std::ostream &ossimNitfRsmecbTag::IGNEntry::print(std::ostream &out,
const std::string &prefix) const
{

return out;
}

ossim_int64 ossimNitfRsmecbTag::IGNEntry::getNumberOfOriginalAdjustableParametersInSubgroup() const
{
Expand Down

0 comments on commit 2df4417

Please sign in to comment.