|
@@ -16,10 +16,13 @@
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: StreamWriter::Constructor
|
|
// Function: StreamWriter::Constructor
|
|
|
// Access: Public
|
|
// Access: Public
|
|
|
-// Description:
|
|
|
|
|
|
|
+// Description:
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE StreamWriter::
|
|
INLINE StreamWriter::
|
|
|
-StreamWriter(ostream &out) :
|
|
|
|
|
|
|
+StreamWriter(ostream &out) :
|
|
|
|
|
+#ifdef HAVE_PYTHON
|
|
|
|
|
+ softspace(0),
|
|
|
|
|
+#endif
|
|
|
_out(&out),
|
|
_out(&out),
|
|
|
_owns_stream(false)
|
|
_owns_stream(false)
|
|
|
{
|
|
{
|
|
@@ -28,10 +31,13 @@ StreamWriter(ostream &out) :
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: StreamWriter::Constructor
|
|
// Function: StreamWriter::Constructor
|
|
|
// Access: Published
|
|
// Access: Published
|
|
|
-// Description:
|
|
|
|
|
|
|
+// Description:
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE StreamWriter::
|
|
INLINE StreamWriter::
|
|
|
-StreamWriter(ostream *out, bool owns_stream) :
|
|
|
|
|
|
|
+StreamWriter(ostream *out, bool owns_stream) :
|
|
|
|
|
+#ifdef HAVE_PYTHON
|
|
|
|
|
+ softspace(0),
|
|
|
|
|
+#endif
|
|
|
_out(out),
|
|
_out(out),
|
|
|
_owns_stream(owns_stream)
|
|
_owns_stream(owns_stream)
|
|
|
{
|
|
{
|
|
@@ -45,6 +51,9 @@ StreamWriter(ostream *out, bool owns_stream) :
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE StreamWriter::
|
|
INLINE StreamWriter::
|
|
|
StreamWriter(const StreamWriter ©) :
|
|
StreamWriter(const StreamWriter ©) :
|
|
|
|
|
+#ifdef HAVE_PYTHON
|
|
|
|
|
+ softspace(0),
|
|
|
|
|
+#endif
|
|
|
_out(copy._out),
|
|
_out(copy._out),
|
|
|
_owns_stream(false)
|
|
_owns_stream(false)
|
|
|
{
|
|
{
|