Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
node_ref Struct Reference

Reference structure to a particular vnode on a device. More...

Public Member Functions

 node_ref ()
 Creates an uninitialized node_ref object.
 
 node_ref (const node_ref &other)
 Creates a copy of the given node_ref object.
 
Operators
bool operator== (const node_ref &other) const
 Tests whether this node_ref and the supplied one are equal.
 
bool operator!= (const node_ref &other) const
 Tests whether this node_ref and the supplied one are NOT equal.
 
bool operator< (const node_ref &other) const
 Tests whether this node_ref is less than the supplied one.
 
node_refoperator= (const node_ref &other)
 Makes this node ref a copy of the supplied one.
 

Public Attributes

dev_t device
 The device number on which the node is located.
 
ino_t node
 The node's inode number.
 

Detailed Description

Reference structure to a particular vnode on a device.

Since
BeOS R3

Constructor & Destructor Documentation

◆ node_ref() [1/2]

node_ref::node_ref ( )

Creates an uninitialized node_ref object.

Since
BeOS R3

◆ node_ref() [2/2]

node_ref::node_ref ( const node_ref other)

Creates a copy of the given node_ref object.

Parameters
otherthe node_ref to be copied.
Since
BeOS R3

Member Function Documentation

◆ operator!=()

bool node_ref::operator!= ( const node_ref other) const

Tests whether this node_ref and the supplied one are NOT equal.

Parameters
otherThe node_ref to be compared against.
Returns
true, if the objects are NOT equal, false otherwise.
Since
BeOS R3

◆ operator<()

bool node_ref::operator< ( const node_ref other) const

Tests whether this node_ref is less than the supplied one.

Parameters
otherThe node_ref to be compared against.
Returns
true, if this node_ref is less than other, false otherwise.
Since
Haiku R1

◆ operator=()

node_ref & node_ref::operator= ( const node_ref other)

Makes this node ref a copy of the supplied one.

Parameters
otherThe node_ref to be copied.
Returns
A reference to this object.
Since
BeOS R3

◆ operator==()

bool node_ref::operator== ( const node_ref other) const

Tests whether this node_ref and the supplied one are equal.

Parameters
otherThe node_ref to be compared against.
Returns
true, if the objects are equal, false otherwise.
Since
BeOS R3

Member Data Documentation

◆ device

node_ref::device

The device number on which the node is located.

Since
BeOS R3

◆ node

node_ref::node

The node's inode number.

Since
BeOS R3