- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Namespace List
- Namespace Members

# OSGA_Archive Namespace Reference

## Functions
| OSGA_Archive ()
| ~OSGA_Archive ()
bool | open (const std::string &filename, ArchiveStatus status, unsigned int indexBlockSize)
bool | open (std::istream &fin)
bool | _open (std::istream &input)
void | close ()
std::string | getMasterFileName () const
bool | getFileNames (FileNameList &fileNameList) const
void | writeIndexBlocks ()
bool | fileExists (const std::string &filename) const
bool | addFileReference (pos_type position, size_type size, const std::string &fileName)
ReaderWriter::ReadResult | read (const ReadFunctor &readFunctor)
ReaderWriter::ReadResult | readObject (const std::string &fileName, const Options *options) const
ReaderWriter::ReadResult | readImage (const std::string &fileName, const Options *options) const
ReaderWriter::ReadResult | readHeightField (const std::string &fileName, const Options *options) const
ReaderWriter::ReadResult | readNode (const std::string &fileName, const Options *options) const
ReaderWriter::WriteResult | write (const WriteFunctor &writeFunctor)
ReaderWriter::WriteResult | writeObject (const osg::Object &obj, const std::string &fileName, const Options *options) const
ReaderWriter::WriteResult | writeImage (const osg::Image &image, const std::string &fileName, const Options *options) const
ReaderWriter::WriteResult | writeHeightField (const osg::HeightField &heightField, const std::string &fileName, const Options *options) const
ReaderWriter::WriteResult | writeNode (const osg::Node &node, const std::string &fileName, const Options *options) const

## Function Documentation

bool OSGA_Archive::_open | ( | std::istream & | input | ) |

bool OSGA_Archive::IndexBlock::addFileReference | ( | pos_type | position,
|  | size_type | size,
|  | const std::string & | fileName
| ) |

void OSGA_Archive::close | ( |  | ) |

bool OSGA_Archive::fileExists | ( | const std::string & | filename | ) | const

bool OSGA_Archive::getFileNames | ( | FileNameList & | fileNameList | ) | const

std::string OSGA_Archive::getMasterFileName | ( |  | ) | const

bool OSGA_Archive::open | ( | std::istream & | fin | ) |

bool OSGA_Archive::open | ( | const std::string & | filename,
|  | ArchiveStatus | status,
|  | unsigned int | indexBlockSize
| ) |

OSGA_Archive::OSGA_Archive | ( |  | ) |

ReaderWriter::ReadResult OSGA_Archive::read | ( | const ReadFunctor & | readFunctor | ) |

ReaderWriter::ReadResult OSGA_Archive::readHeightField | ( | const std::string & | fileName,
|  | const Options * | options
| ) | const

ReaderWriter::ReadResult OSGA_Archive::readImage | ( | const std::string & | fileName,
|  | const Options * | options
| ) | const

ReaderWriter::ReadResult OSGA_Archive::readNode | ( | const std::string & | fileName,
|  | const Options * | options
| ) | const

ReaderWriter::ReadResult OSGA_Archive::readObject | ( | const std::string & | fileName,
|  | const Options * | options
| ) | const

ReaderWriter::WriteResult OSGA_Archive::write | ( | const WriteFunctor & | writeFunctor | ) |

ReaderWriter::WriteResult OSGA_Archive::writeHeightField | ( | const osg::HeightField & | heightField,
|  | const std::string & | fileName,
|  | const Options * | options
| ) | const

ReaderWriter::WriteResult OSGA_Archive::writeImage | ( | const osg::Image & | image,
|  | const std::string & | fileName,
|  | const Options * | options
| ) | const

void OSGA_Archive::writeIndexBlocks | ( |  | ) |

ReaderWriter::WriteResult OSGA_Archive::writeNode | ( | const osg::Node & | node,
|  | const std::string & | fileName,
|  | const Options * | options
| ) | const

ReaderWriter::WriteResult OSGA_Archive::writeObject | ( | const osg::Object & | obj,
|  | const std::string & | fileName,
|  | const Options * | options
| ) | const

OSGA_Archive::~OSGA_Archive | ( |  | ) |