Package pyopencv :: Module cxcore_hpp_ext :: Class FileNode
[hide private]
[frames] | no frames]

Class FileNode

 object --+    
          |    
??.instance --+
              |
             FileNode


The XML/YAML file node class.

In PyOpenCV, FileNode is a Python iterator which iterates over the 
child nodes of type FileNode. You can use the read-only attribute 
'children' to get the list of child nodes, too.
Reference:
    http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filenode

Instance Methods [hide private]
 
__getitem__(...)
__getitem__( (FileNode)arg1, (object)nodename) -> FileNode :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__iter__(...)
__iter__( (FileNode)arg1) -> tuple :
 
__reduce__(...)
helper for pickle
 
as_float32(...)
as_float32( (FileNode)arg1) -> float :
 
as_float64(...)
as_float64( (FileNode)arg1) -> float :
 
as_int(...)
as_int( (FileNode)arg1) -> int :
 
as_str(...)
as_str( (FileNode)arg1) -> str :
 
empty(...)
empty( (FileNode)arg1) -> bool :
 
isInt(...)
isInt( (FileNode)arg1) -> bool :
 
isMap(...)
isMap( (FileNode)arg1) -> bool :
 
isNamed(...)
isNamed( (FileNode)arg1) -> bool :
 
isNone(...)
isNone( (FileNode)arg1) -> bool :
 
isReal(...)
isReal( (FileNode)arg1) -> bool :
 
isSeq(...)
isSeq( (FileNode)arg1) -> bool :
 
isString(...)
isString( (FileNode)arg1) -> bool :
 
name(...)
name( (FileNode)arg1) -> str :
 
readRaw(...)
readRaw( (FileNode)inst, (object)fmt, (object)len) -> Mat : Reads raw data.
 
size(...)
size( (FileNode)arg1) -> int :
 
type(...)
type( (FileNode)arg1) -> int :

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]
  EMPTY = 32
  FLOAT = 2
  FLOW = 8
  INT = 1
  MAP = 6
  NAMED = 64
  NONE = 0
  REAL = 2
  REF = 4
  SEQ = 5
  STR = 3
  STRING = 3
  TYPE_MASK = 7
  USER = 16
  __instance_size__ = 16
Properties [hide private]
  children
  this
The XML/YAML file node class.

Inherited from object: __class__

Method Details [hide private]

__getitem__(...)
(Indexing operator)

 

__getitem__( (FileNode)arg1, (object)nodename) -> FileNode :
    
    Wrapped function:
        operator[]

    C++ signature :
        cv::FileNode __getitem__(cv::FileNode {lvalue},std::string)

__getitem__( (FileNode)arg1, (object)i) -> FileNode :
    
    Wrapped function:
        operator[]

    C++ signature :
        cv::FileNode __getitem__(cv::FileNode {lvalue},int)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (FileNode)_node) -> None :

    C++ signature :
        void __init__(_object*,cv::FileNode)

Overrides: object.__init__

__iter__(...)

 

__iter__( (FileNode)arg1) -> tuple :

    C++ signature :
        boost::python::tuple __iter__(cv::FileNode)

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

as_float32(...)

 

as_float32( (FileNode)arg1) -> float :
    
    Wrapped function:
        operator float

    C++ signature :
        float as_float32(cv::FileNode {lvalue})

as_float64(...)

 

as_float64( (FileNode)arg1) -> float :
    
    Wrapped function:
        operator double

    C++ signature :
        double as_float64(cv::FileNode {lvalue})

as_int(...)

 

as_int( (FileNode)arg1) -> int :
    
    Wrapped function:
        operator int

    C++ signature :
        int as_int(cv::FileNode {lvalue})

as_str(...)

 

as_str( (FileNode)arg1) -> str :
    
    Wrapped function:
        operator ::std::string

    C++ signature :
        std::string as_str(cv::FileNode {lvalue})

empty(...)

 

empty( (FileNode)arg1) -> bool :

    C++ signature :
        bool empty(cv::FileNode {lvalue})

isInt(...)

 

isInt( (FileNode)arg1) -> bool :

    C++ signature :
        bool isInt(cv::FileNode {lvalue})

isMap(...)

 

isMap( (FileNode)arg1) -> bool :

    C++ signature :
        bool isMap(cv::FileNode {lvalue})

isNamed(...)

 

isNamed( (FileNode)arg1) -> bool :

    C++ signature :
        bool isNamed(cv::FileNode {lvalue})

isNone(...)

 

isNone( (FileNode)arg1) -> bool :

    C++ signature :
        bool isNone(cv::FileNode {lvalue})

isReal(...)

 

isReal( (FileNode)arg1) -> bool :

    C++ signature :
        bool isReal(cv::FileNode {lvalue})

isSeq(...)

 

isSeq( (FileNode)arg1) -> bool :

    C++ signature :
        bool isSeq(cv::FileNode {lvalue})

isString(...)

 

isString( (FileNode)arg1) -> bool :

    C++ signature :
        bool isString(cv::FileNode {lvalue})

name(...)

 

name( (FileNode)arg1) -> str :

    C++ signature :
        std::string name(cv::FileNode {lvalue})

readRaw(...)

 

readRaw( (FileNode)inst, (object)fmt, (object)len) -> Mat :
    Reads raw data. Argument 'vec' is returned as a Mat.

    C++ signature :
        cv::Mat readRaw(cv::FileNode,std::string,int)

size(...)

 

size( (FileNode)arg1) -> int :

    C++ signature :
        unsigned int size(cv::FileNode {lvalue})

type(...)

 

type( (FileNode)arg1) -> int :

    C++ signature :
        int type(cv::FileNode {lvalue})


Property Details [hide private]

children

Get Method:
unreachable(...)

this


The XML/YAML file node class.

In PyOpenCV, FileNode is a Python iterator which iterates over the 
child nodes of type FileNode. You can use the read-only attribute 
'children' to get the list of child nodes, too.
Reference:
    http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filenode

Get Method:
unreachable(...)