public static class opencv_core.FileNode extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
EMPTY
enum cv::FileNode::
|
static int |
FLOAT
enum cv::FileNode::
|
static int |
FLOW
enum cv::FileNode::
|
static int |
INT
enum cv::FileNode::
|
static int |
MAP
enum cv::FileNode::
|
static int |
NAMED
enum cv::FileNode::
|
static int |
NONE
enum cv::FileNode::
|
static int |
REAL
enum cv::FileNode::
|
static int |
REF
enum cv::FileNode::
|
static int |
SEQ
enum cv::FileNode::
|
static int |
STR
enum cv::FileNode::
|
static int |
STRING
enum cv::FileNode::
|
static int |
TYPE_MASK
enum cv::FileNode::
|
static int |
USER
enum cv::FileNode::
|
| Constructor and Description |
|---|
opencv_core.FileNode()
the default constructor
|
opencv_core.FileNode(int size) |
opencv_core.FileNode(opencv_core.CvFileStorage fs,
opencv_core.CvFileNode node)
the full constructor wrapping CvFileNode structure.
|
opencv_core.FileNode(opencv_core.FileNode node)
the copy constructor
|
opencv_core.FileNode(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
asBytePointer()
returns the node content as text string
|
double |
asDouble()
returns the node content as double
|
float |
asFloat()
returns the node content as float
|
int |
asInt()
returns the node content as an integer.
|
opencv_core.FileNodeIterator |
begin()
returns iterator pointing to the first node element
|
boolean |
empty()
returns true if the node is empty
|
opencv_core.FileNodeIterator |
end()
returns iterator pointing to the element following the last node element
|
opencv_core.CvFileStorage |
fs() |
opencv_core.FileNode |
get(BytePointer nodename)
returns element of a mapping node
|
opencv_core.FileNode |
get(int i)
returns element of a sequence node
|
opencv_core.FileNode |
get(String nodename) |
boolean |
isInt()
returns true if the node is an integer
|
boolean |
isMap()
returns true if the node is a mapping
|
boolean |
isNamed()
returns true if the node has a name
|
boolean |
isNone()
returns true if the node is a "none" object
|
boolean |
isReal()
returns true if the node is a floating-point number
|
boolean |
isSeq()
returns true if the node is a sequence
|
boolean |
isString()
returns true if the node is a text string
|
opencv_core.CvFileNode |
multiply()
returns pointer to the underlying file node
|
BytePointer |
name()
returns the node name or an empty string if the node is nameless
|
opencv_core.CvFileNode |
node() |
opencv_core.FileNode |
position(int position) |
Pointer |
readObj()
reads the registered object and returns pointer to it
|
void |
readRaw(BytePointer fmt,
byte[] vec,
long len) |
void |
readRaw(BytePointer fmt,
ByteBuffer vec,
long len) |
void |
readRaw(BytePointer fmt,
BytePointer vec,
long len)
reads node elements to the buffer with the specified format
|
void |
readRaw(String fmt,
byte[] vec,
long len) |
void |
readRaw(String fmt,
ByteBuffer vec,
long len) |
void |
readRaw(String fmt,
BytePointer vec,
long len) |
long |
size()
returns the number of elements in the node, if it is a sequence or mapping, or 1 otherwise.
|
int |
type()
returns type of the node
|
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic static final int NONE
public static final int INT
public static final int REAL
public static final int FLOAT
public static final int STR
public static final int STRING
public static final int REF
public static final int SEQ
public static final int MAP
public static final int TYPE_MASK
public static final int FLOW
public static final int USER
public static final int EMPTY
public static final int NAMED
public opencv_core.FileNode(Pointer p)
public opencv_core.FileNode(int size)
public opencv_core.FileNode()
public opencv_core.FileNode(opencv_core.CvFileStorage fs, opencv_core.CvFileNode node)
public opencv_core.FileNode(opencv_core.FileNode node)
public opencv_core.FileNode position(int position)
public opencv_core.FileNode get(BytePointer nodename)
public opencv_core.FileNode get(String nodename)
public opencv_core.FileNode get(int i)
public int type()
public boolean empty()
public boolean isNone()
public boolean isSeq()
public boolean isMap()
public boolean isInt()
public boolean isReal()
public boolean isString()
public boolean isNamed()
public BytePointer name()
public long size()
public int asInt()
public float asFloat()
public double asDouble()
public BytePointer asBytePointer()
public opencv_core.CvFileNode multiply()
public opencv_core.FileNodeIterator begin()
public opencv_core.FileNodeIterator end()
public void readRaw(BytePointer fmt, BytePointer vec, long len)
public void readRaw(String fmt, ByteBuffer vec, long len)
public void readRaw(BytePointer fmt, byte[] vec, long len)
public void readRaw(String fmt, BytePointer vec, long len)
public void readRaw(BytePointer fmt, ByteBuffer vec, long len)
public void readRaw(String fmt, byte[] vec, long len)
public Pointer readObj()
public opencv_core.CvFileStorage fs()
public opencv_core.CvFileNode node()
Copyright © 2014. All Rights Reserved.