HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CL_BinaryClipWriter.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CL_BinaryClipWriter.h
7  *
8  * COMMENTS:
9  * This class writes to .bclip files.
10  */
11 
12 #ifndef __CL_BinaryClipWriter_h__
13 #define __CL_BinaryClipWriter_h__
14 
15 #include "CL_API.h"
16 #include "CL_ClipWriter.h"
17 
18 #include <UT/UT_StringArray.h>
19 
20 class UT_OStream;
21 class CL_ClipPrivateIO;
22 
24 {
25 public:
26  CL_BinaryClipWriter(bool force_noncommercial)
27  : myForceNonCommercialFlag(force_noncommercial) {}
28  virtual ~CL_BinaryClipWriter() {}
29 
30  virtual bool writeClip(const char *file_name, const CL_Clip &clip);
31  bool writeClip(UT_OStream &os, const CL_Clip &clip,
32  const CL_ClipPrivateIO *priv = 0);
33  bool writeClip(UT_OStream &os, const CL_Clip &clip,
34  UT_StringArray& parms, const CL_ClipPrivateIO *priv = 0);
35 
36 private:
37  bool myForceNonCommercialFlag;
38 };
39 
40 #endif
virtual bool writeClip(const char *file_name, const CL_Clip &clip)=0
#define CL_API
Definition: CL_API.h:10
CL_BinaryClipWriter(bool force_noncommercial)
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER T clip(const T &p, const Box< T > &box)
Definition: ImathBoxAlgo.h:89