Ticket #170 (closed patch: fixed)
Patch for istream >> operators for math classes
| Reported by: | marcusl | Owned by: | cneumann |
|---|---|---|---|
| Priority: | major | Milestone: | 1.X |
| Component: | System | Version: | |
| Keywords: | Cc: |
Description (last modified by marcusl) (diff)
We have ostream-operators but not istream. To use boost::lexical_cast and/or stream ops in general, this would be nice.
Attached are two files which implement this. Everything is templatized but the template impl & instantiations are hidden in the CPP, so that the code is not duplicated in each using class.
Attachments
Change History
Changed 6 years ago by marcusl
-
attachment
ouMathIO.cpp
added
comment:1 Changed 6 years ago by marcusl
The STYX_DECLSPEC should be OSGBASE_DLLMAPPING of course. I hope you get the idea. :)
Changed 6 years ago by marcusl
-
attachment
OSGMathIO.h
added
Header file - same thing in OpenSG syntax, compiles with 1.8
comment:2 Changed 6 years ago by marcusl
- Description modified (diff)
I've attached files that are written in OpenSG style and compiles with 1.8.
Note: See
TracTickets for help on using
tickets.

impl