Made the osgDB::ParamterOutput class so that it is purely defined in terms
of the header, and therefore not requiring to be exported. Updated the MUSE_READ_ME.txt to include mention of syntax highlighting.
This commit is contained in:
@@ -11,7 +11,6 @@ CXXFILES =\
|
||||
WriteFile.cpp\
|
||||
Input.cpp\
|
||||
Output.cpp\
|
||||
ParameterOutput.cpp\
|
||||
Field.cpp\
|
||||
FieldReader.cpp\
|
||||
FieldReaderIterator.cpp\
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
#include <osgDB/ParameterOutput>
|
||||
|
||||
using namespace osgDB;
|
||||
|
||||
ParameterOutput::ParameterOutput(Output& fw):
|
||||
_fw(fw),
|
||||
_numItemsPerLine(fw.getNumIndicesPerLine()),
|
||||
_column(0) {}
|
||||
|
||||
ParameterOutput::ParameterOutput(Output& fw,int numItemsPerLine):
|
||||
_fw(fw),
|
||||
_numItemsPerLine(numItemsPerLine),
|
||||
_column(0) {}
|
||||
|
||||
void ParameterOutput::begin()
|
||||
{
|
||||
_fw.indent() << "{"<<std::endl;
|
||||
_fw.moveIn();
|
||||
}
|
||||
|
||||
void ParameterOutput::newLine()
|
||||
{
|
||||
if (_column!=0) _fw << std::endl;
|
||||
_column = 0;
|
||||
}
|
||||
|
||||
void ParameterOutput::end()
|
||||
{
|
||||
if (_column!=0) _fw << std::endl;
|
||||
_fw.moveOut();
|
||||
_fw.indent() << "}"<<std::endl;
|
||||
_column = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user