Struct opencv::core::FileStorage[][src]

pub struct FileStorage { /* fields omitted */ }
Expand description

XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or reading data to/from a file.

Implementations

The constructors.

The full constructor opens the file. Alternatively you can use the default constructor and then call FileStorage::open.

The constructors.

The full constructor opens the file. Alternatively you can use the default constructor and then call FileStorage::open.

Overloaded parameters

 @copydoc open()

C++ default parameters

  • encoding: String()

Returns the normalized object name for the specified name of a file.

Parameters

  • filename: Name of a file

Returns

The normalized object name.

Trait Implementations

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Executes the destructor for this type. Read more

Opens a file. Read more

Closes the file and releases all the memory buffers. Read more

Closes the file and releases all the memory buffers. Read more

Simplified writing API to use with bindings. Read more

Simplified writing API to use with bindings. Read more

Simplified writing API to use with bindings. Read more

Simplified writing API to use with bindings. Read more

Simplified writing API to use with bindings. Read more

Writes multiple numbers. Read more

Writes a comment. Read more

Starts to write a nested structure (sequence or a mapping). Read more

Finishes writing nested structure (should pair startWriteStruct())

Checks whether the file is opened. Read more

Returns the first element of the top-level mapping. Read more

Returns the top-level mapping Read more

Returns the specified element of the top-level mapping. Read more

Returns the specified element of the top-level mapping. Read more

Returns the current format. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.