OBJParser
OBJ File Parser Powered by Boost Spirit
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
Enumerator
Pages
include
OBJCommon.hpp
1
/*
2
* Copyright 2016 Steven T Sell (ssell@vertexfragment.com)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef __H__OBJ_COMMON__H__
18
#define __H__OBJ_COMMON__H__
19
20
//------------------------------------------------------------------------------------------
21
22
#define BOOST_SPIRIT_USE_PHOENIX_V3
23
24
#pragma warning (disable:4348)
25
#include <boost/spirit/include/qi.hpp>
26
#include <boost/spirit/include/phoenix.hpp>
27
28
#ifdef OBJ_PARSER_USE_MEM_MAP
29
using
OBJIterator =
const
char
*;
30
#else
31
using
OBJIterator = boost::spirit::istream_iterator;
32
#endif
33
34
using namespace
boost::spirit
;
35
36
//------------------------------------------------------------------------------------------
37
38
#endif
spirit
Generated on Sat Oct 1 2016 21:56:30 for OBJParser by
1.8.8