View Source Evision.FileNode (Evision v0.1.17)
Link to this section Summary
Types
Type that represents an Evision.FileNode
struct.
Functions
at
empty
The constructors.
getNode
isInt
isMap
isNamed
isNone
isReal
isSeq
isString
Returns keys of a mapping node.
mat
name
rawSize
real
size
string
Returns type of the node.
Link to this section Types
@type t() :: %Evision.FileNode{ref: reference()}
Type that represents an Evision.FileNode
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
at
Positional Arguments
self:
Evision.FileNode.t()
i:
int
.Index of an element in the sequence node.
Return
- retval:
Evision.FileNode
Has overloading in C++
Python prototype (for reference only):
at(i) -> retval
empty
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
empty() -> retval
The constructors.
Return
- self:
Evision.FileNode
These constructors are used to create a default file node, construct it from obsolete structures or from the another file node.
Python prototype (for reference only):
FileNode() -> <FileNode object>
getNode
Positional Arguments
self:
Evision.FileNode.t()
nodename:
c_string
.Name of an element in the mapping node.
Return
- retval:
Evision.FileNode
Has overloading in C++
Python prototype (for reference only):
getNode(nodename) -> retval
isInt
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isInt() -> retval
isMap
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isMap() -> retval
isNamed
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isNamed() -> retval
isNone
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isNone() -> retval
isReal
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isReal() -> retval
isSeq
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isSeq() -> retval
isString
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
bool
Python prototype (for reference only):
isString() -> retval
Returns keys of a mapping node.
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
std::vector<String>
@returns Keys of a mapping node.
Python prototype (for reference only):
keys() -> retval
@spec mat(t()) :: Evision.Mat.t() | {:error, String.t()}
mat
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
Evision.Mat
Python prototype (for reference only):
mat() -> retval
name
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
String
Python prototype (for reference only):
name() -> retval
rawSize
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
size_t
Python prototype (for reference only):
rawSize() -> retval
real
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
double
Internal method used when reading FileStorage. Sets the type (int, real or string) and value of the previously created node.
Python prototype (for reference only):
real() -> retval
size
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
size_t
Python prototype (for reference only):
size() -> retval
string
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
String
Python prototype (for reference only):
string() -> retval
Returns type of the node.
Positional Arguments
- self:
Evision.FileNode.t()
Return
- retval:
int
@returns Type of the node. See FileNode::Type
Python prototype (for reference only):
type() -> retval