Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class SceneCodec
[frames] | no frames]

Class SceneCodec

 object --+    
          |    
??.instance --+
              |
             SceneCodec
Known Subclasses:

Coder/Decoder of a scene description.

Nested Classes
  Mode
Enum representing coding and decoding capabilities of a codec.
Instance Methods
 
__init__(...)
__init__( (object)arg1 [, (str)name [, (Mode)mode]]) -> None : SceneCodec([name,mode])
 
__reduce__(...)
helper for pickle
 
formats(...)
formats( (SceneCodec)arg1) -> SceneFormatList :
 
read(...)
read( (SceneCodec)arg1, (str)arg2) -> Scene :
 
test(...)
test( (SceneCodec)arg1, (str)arg2, (Mode)arg3) -> bool :
 
write(...)
write( (SceneCodec)arg1, (str)arg2, (Scene)arg3) -> None :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __instance_size__ = 12
Properties
  mode
  name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (str)name [, (Mode)mode]]) -> None :
    SceneCodec([name,mode])

    C++ signature :
        void __init__(struct _object * [,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > [,enum PGL::SceneCodec::Mode]])

Overrides: object.__init__

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

formats(...)

 

formats( (SceneCodec)arg1) -> SceneFormatList :

    C++ signature :
        class std::vector<struct PGL::SceneFormat,class std::allocator<struct PGL::SceneFormat> > formats(class PGL::SceneCodec {lvalue})

formats( (SceneCodec)arg1) -> None :

    C++ signature :
        void formats(class TOOLS::RefCountPtr<class PySceneCodec> {lvalue})

read(...)

 

read( (SceneCodec)arg1, (str)arg2) -> Scene :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::Scene> read(class PGL::SceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

read( (SceneCodec)arg1, (str)arg2) -> Scene :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::Scene> read(class PySceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

test(...)

 

test( (SceneCodec)arg1, (str)arg2, (Mode)arg3) -> bool :

    C++ signature :
        bool test(class PGL::SceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,enum PGL::SceneCodec::Mode)

test( (SceneCodec)arg1, (str)arg2, (Mode)arg3) -> bool :

    C++ signature :
        bool test(class PySceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,enum PGL::SceneCodec::Mode)

write(...)

 

write( (SceneCodec)arg1, (str)arg2, (Scene)arg3) -> None :

    C++ signature :
        void write(class PGL::SceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class TOOLS::RefCountPtr<class PGL::Scene>)

write( (SceneCodec)arg1, (str)arg2, (Scene)arg3) -> None :

    C++ signature :
        void write(class PySceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class TOOLS::RefCountPtr<class PGL::Scene>)


Property Details

mode

Get Method:
unreachable(...)
Set Method:
unreachable(...)

name

Get Method:
unreachable(...)
Set Method:
unreachable(...)