View Source Evision.FileNode (Evision v0.1.12)

Link to this section Summary

Types

t()

Type that represents an Evision.FileNode struct.

Functions

Positional Arguments
  • i: int.

Return
  • retval: bool

Python prototype (for reference):

The constructors.

Positional Arguments
  • nodename: c_string.

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Returns keys of a mapping node.

Return

Python prototype (for reference):

Return

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: double

Internal method used when reading FileStorage. Sets the type (int, real or string) and value of the previously created node.

Return
  • retval: size_t

Python prototype (for reference):

Return

Python prototype (for reference):

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

@spec at(t(), integer()) :: t() | {:error, String.t()}
Positional Arguments
  • i: int.

    Index of an element in the sequence node.

Return

Has overloading in C++

Python prototype (for reference):

at(i) -> retval
@spec empty(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

empty() -> retval
@spec fileNode() :: t() | {:error, String.t()}

The constructors.

Return

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):

FileNode() -> <FileNode object>
@spec getNode(t(), binary()) :: t() | {:error, String.t()}
Positional Arguments
  • nodename: c_string.

    Name of an element in the mapping node.

Return

Has overloading in C++

Python prototype (for reference):

getNode(nodename) -> retval
@spec isInt(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isInt() -> retval
@spec isMap(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isMap() -> retval
@spec isNamed(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isNamed() -> retval
@spec isNone(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isNone() -> retval
@spec isReal(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isReal() -> retval
@spec isSeq(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isSeq() -> retval
@spec isString(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

isString() -> retval
@spec keys(t()) :: [binary()] | {:error, String.t()}

Returns keys of a mapping node.

Return
  • retval: std::vector<String>

@returns Keys of a mapping node.

Python prototype (for reference):

keys() -> retval
@spec mat(t()) :: Evision.Mat.t() | {:error, String.t()}
Return

Python prototype (for reference):

mat() -> retval
@spec name(t()) :: binary() | {:error, String.t()}
Return

Python prototype (for reference):

name() -> retval
@spec rawSize(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

rawSize() -> retval
@spec real(t()) :: number() | {:error, String.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):

real() -> retval
@spec size(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

size() -> retval
@spec string(t()) :: binary() | {:error, String.t()}
Return

Python prototype (for reference):

string() -> retval
@spec type(t()) :: integer() | {:error, String.t()}

Returns type of the node.

Return
  • retval: int

@returns Type of the node. See FileNode::Type

Python prototype (for reference):

type() -> retval