mexopencv  3.4.1
MEX interface for OpenCV library
Functions
anonymous_namespace{FileStorage.cpp} Namespace Reference

Functions

bool isa (const FileNode &node, const string &type_name)
 Check if the node is of a user-defined type. More...
 
void read (FileStorage &fs, MxArray &x, const FileNode &node)
 Recursive function to output to a file storage. More...
 
void write (FileStorage &fs, const MxArray &x, bool root=false)
 Recursive function to output to a file storage. More...
 

Function Documentation

◆ isa()

bool anonymous_namespace{FileStorage.cpp}::isa ( const FileNode node,
const string type_name 
)

Check if the node is of a user-defined type.

Parameters
nodenode to test.
type_nametype name. e.g., "opencv-matrix"
Returns
flag

Definition at line 19 of file FileStorage.cpp.

◆ read()

void anonymous_namespace{FileStorage.cpp}::read ( FileStorage fs,
MxArray x,
const FileNode node 
)

Recursive function to output to a file storage.

Parameters
fsFileStorage object
xMxArray to be read
nodeFileNode to read

Definition at line 31 of file FileStorage.cpp.

◆ write()

void anonymous_namespace{FileStorage.cpp}::write ( FileStorage fs,
const MxArray x,
bool  root = false 
)

Recursive function to output to a file storage.

Parameters
fsFileStorage object
xMxArray to be written
rootFlag inidicating the root node

Definition at line 141 of file FileStorage.cpp.