- REFACTORING : Remove not used header from ObjFileParser.

- REFACTORING : Rename IO instance of ObjParser.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@509 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
kimmi
2009-12-06 12:14:47 +00:00
parent e4e47eab07
commit a870710f56
2 changed files with 12 additions and 12 deletions

View File

@@ -45,7 +45,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <vector>
#include <string>
#include <map>
#include "../include/aiTypes.h"
namespace Assimp
{
@@ -59,6 +58,7 @@ struct Point3;
struct Point2;
}
class ObjFileImporter;
class IOSystem;
/// \class ObjFileParser
/// \brief Parser for a obj waveform file
@@ -102,18 +102,18 @@ private:
void getGroupName();
/// Gets the group number from file.
void getGroupNumber();
///
/// Returns the index of the material. Is -1 if not material was found.
int getMaterialIndex( const std::string &strMaterialName );
///
/// Parse object name
void getObjectName();
///
/// Creates a new object.
void createObject(const std::string &strObjectName);
/// Error report in token
void reportErrorTokenInFace();
private:
/// Default material name
static const std::string DEFAULT_MATERIAL;/* = "defaultmaterial";*/
static const std::string DEFAULT_MATERIAL;
//! Iterator to current position in buffer
DataArrayIt m_DataIt;
//! Iterator to end position of buffer
@@ -124,8 +124,8 @@ private:
unsigned int m_uiLine;
//! Helper buffer
char m_buffer[BUFFERSIZE];
IOSystem* io;
/// Pointer to IO system instance.
IOSystem *m_pIO;
};
} // Namespace Assimp