3
// Copyright � 1997 - 2001, Paul C. Gregory
5
// Contact: pgregory@aqsis.com
7
// This library is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU Lesser General Public
9
// License as published by the Free Software Foundation; either
10
// version 2.1 of the License, or (at your option) any later version.
12
// This library is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
// General Public License for more details.
17
// You should have received a copy of the GNU General Public
18
// License along with this library; if not, write to the Free Software
19
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
* \brief RIB ascii output class
23
* \author Lionel J. Lacour (intuition01@online.fr)
26
#ifndef RI2RIB_ASCII_H
27
#define RI2RIB_ASCII_H 1
31
START_NAMESPACE( libri2rib )
33
class CqASCII : public CqOutput
37
void printRequest( const char *, EqFunctions );
38
void printInteger( const RtInt );
39
void printFloat( const RtFloat );
40
void printString( std::string & );
44
void printArray ( RtInt n, RtInt *p );
45
void printArray ( RtInt n, RtFloat *p );
46
void printArray ( RtInt n, RtToken *p );
47
void printToken ( RtToken t );
48
void printCharP ( const char *c );
49
void print ( const char *c );
52
CqASCII( const char *name, int fdesc,
53
SqOptions::EqCompression comp,
54
SqOptions::EqIndentation i, TqInt isize )
55
: CqOutput( name, fdesc, comp, i, isize )
62
END_NAMESPACE( libri2rib )