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

Class FileStorage

 object --+    
          |    
??.instance --+
              |
             FileStorage


The XML/YAML file storage class.

Reference:
    http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

Instance Methods [hide private]
 
__getitem__(...)
__getitem__( (FileStorage)arg1, (object)nodename) -> FileNode :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
getFirstTopLevelNode(...)
getFirstTopLevelNode( (FileStorage)arg1) -> FileNode :
 
isOpened(...)
isOpened( (FileStorage)arg1) -> bool :
 
open(...)
open( (FileStorage)arg1, (object)filename, (object)flags) -> bool :
 
release(...)
release( (FileStorage)arg1) -> None :
 
root(...)
root( (FileStorage)arg1 [, (object)streamidx=0]) -> FileNode :
 
writeRaw(...)
writeRaw( (FileStorage)inst, (object)fmt, (vector_uint8)vec) -> None :

Inherited from unreachable.instance: __new__

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

Static Methods [hide private]
 
getDefaultObjectName(...)
getDefaultObjectName( (object)filename) -> str :
Class Variables [hide private]
  APPEND = 2
  INSIDE_MAP = 4
  NAME_EXPECTED = 2
  READ = 0
  UNDEFINED = 0
  VALUE_EXPECTED = 1
  WRITE = 1
  __instance_size__ = 44
Properties [hide private]
  elname
  state
  this
The XML/YAML file storage class.

Inherited from object: __class__

Method Details [hide private]

__getitem__(...)
(Indexing operator)

 

__getitem__( (FileStorage)arg1, (object)nodename) -> FileNode :
    
    Returns the top-level node by name.
    Wrapped function:
        operator[]
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

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

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    
    Constructor.
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (object)filename, (object)flags) -> None :
    
    Constructor.
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

    C++ signature :
        void __init__(_object*,std::string,int)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

getDefaultObjectName(...)
Static Method

 

getDefaultObjectName( (object)filename) -> str :
    
    Returns the default object name from the filename (used by cvSave() 
    with the default object name etc.).
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

    C++ signature :
        std::string getDefaultObjectName(std::string)

getFirstTopLevelNode(...)

 

getFirstTopLevelNode( (FileStorage)arg1) -> FileNode :
    
    Returns the first top-level node.
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

    C++ signature :
        cv::FileNode getFirstTopLevelNode(cv::FileStorage {lvalue})

isOpened(...)

 

isOpened( (FileStorage)arg1) -> bool :

    C++ signature :
        bool isOpened(cv::FileStorage {lvalue})

isOpened( (FileStorage)arg1) -> bool :

    C++ signature :
        bool isOpened(FileStorage_wrapper {lvalue})

open(...)

 

open( (FileStorage)arg1, (object)filename, (object)flags) -> bool :

    C++ signature :
        bool open(cv::FileStorage {lvalue},std::string,int)

open( (FileStorage)arg1, (object)filename, (object)flags) -> bool :

    C++ signature :
        bool open(FileStorage_wrapper {lvalue},std::string,int)

release(...)

 

release( (FileStorage)arg1) -> None :

    C++ signature :
        void release(cv::FileStorage {lvalue})

release( (FileStorage)arg1) -> None :

    C++ signature :
        void release(FileStorage_wrapper {lvalue})

root(...)

 

root( (FileStorage)arg1 [, (object)streamidx=0]) -> FileNode :
    
    Returns the root file node (it's the parent of the first top-level 
    node).
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

    C++ signature :
        cv::FileNode root(cv::FileStorage {lvalue} [,int=0])

writeRaw(...)

 

writeRaw( (FileStorage)inst, (object)fmt, (vector_uint8)vec) -> None :
    
    Writes the certain number of elements of the specified format.
    Reference:
        http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage
    Argument 'vec':
        C++ type: ::uchar const *
        Python type: vector_uint8
    Argument 'len':
        Dependent argument: omitted from input. Its value is derived from 
        argument 'vec'.

    C++ signature :
        void writeRaw(cv::FileStorage {lvalue},std::string,std::vector<unsigned char, std::allocator<unsigned char> >)


Property Details [hide private]

elname

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

state

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

this


The XML/YAML file storage class.

Reference:
    http://opencv.willowgarage.com/documentation/cpp/xml_yaml_persistence.html#filestorage

Get Method:
unreachable(...)