OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Public Attributes | Friends | List of all members
ossimApplanixEORecord Class Reference

#include <ossimApplanixEOFile.h>

Inheritance diagram for ossimApplanixEORecord:
ossimReferenced

Public Member Functions

 ossimApplanixEORecord (const ossimApplanixEORecord &src)
 
 ossimApplanixEORecord (ossim_uint32 size=0)
 
void setSize (ossim_uint32 size)
 
const ossimStringoperator[] (ossim_uint32 idx) const
 
ossimStringoperator[] (ossim_uint32 idx)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 

Public Attributes

std::vector< ossimStringtheField
 

Friends

OSSIM_DLL friend std::ostream & operator<< (std::ostream &out, const ossimApplanixEORecord &src)
 

Additional Inherited Members

- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 

Detailed Description

Definition at line 23 of file ossimApplanixEOFile.h.

Constructor & Destructor Documentation

◆ ossimApplanixEORecord() [1/2]

ossimApplanixEORecord::ossimApplanixEORecord ( const ossimApplanixEORecord src)
inline

Definition at line 28 of file ossimApplanixEOFile.h.

29  :theField(src.theField)
30  {
31  }
std::vector< ossimString > theField

◆ ossimApplanixEORecord() [2/2]

ossimApplanixEORecord::ossimApplanixEORecord ( ossim_uint32  size = 0)
inline

Definition at line 32 of file ossimApplanixEOFile.h.

References size.

33  {
34  setSize(size);
35  }
void setSize(ossim_uint32 size)
yy_size_t size

Member Function Documentation

◆ operator[]() [1/2]

const ossimString& ossimApplanixEORecord::operator[] ( ossim_uint32  idx) const
inline

Definition at line 41 of file ossimApplanixEOFile.h.

42  {
43  return theField[idx];
44  }
std::vector< ossimString > theField

◆ operator[]() [2/2]

ossimString& ossimApplanixEORecord::operator[] ( ossim_uint32  idx)
inline

Definition at line 45 of file ossimApplanixEOFile.h.

46  {
47  return theField[idx];
48  }
std::vector< ossimString > theField

◆ setSize()

void ossimApplanixEORecord::setSize ( ossim_uint32  size)
inline

Definition at line 37 of file ossimApplanixEOFile.h.

References size.

38  {
39  theField.resize(size);
40  }
std::vector< ossimString > theField
yy_size_t size

Friends And Related Function Documentation

◆ operator<<

OSSIM_DLL friend std::ostream& operator<< ( std::ostream &  out,
const ossimApplanixEORecord src 
)
friend

Definition at line 41 of file ossimApplanixEOFile.cpp.

42 {
43  if(src.theField.size())
44  {
45  std::copy(src.theField.begin(),
46  src.theField.end(),
47  std::ostream_iterator<ossimString>(out, " "));
48  }
49 
50  return out;
51 }
std::vector< ossimString > theField

Member Data Documentation

◆ theField

std::vector<ossimString> ossimApplanixEORecord::theField

Definition at line 50 of file ossimApplanixEOFile.h.

Referenced by operator<<().


The documentation for this class was generated from the following file: