MOS Source Code
Loading...
Searching...
No Matches
dt_node Class Reference

#include <libfdt++.hpp>

+ Collaboration diagram for dt_node:

Classes

class  iterator
 
class  node_property_list
 

Public Member Functions

 dt_node (const dt_root &root, unsigned long offset)
 
 dt_node (const dt_root &root, const char *path)
 
const char * get_name () const
 
long offset () const
 
iterator begin () const
 
iterator end () const
 
bool has_property (const char *name) const
 
const dt_rootroot () const
 
node_property_list properties () const
 
dt_property get_property (const char *name) const
 
dt_property operator[] (const char *name) const
 

Private Attributes

const dt_rootm_root
 
unsigned long m_offset
 

Detailed Description

Definition at line 78 of file libfdt++.hpp.

Constructor & Destructor Documentation

◆ dt_node() [1/2]

dt_node ( const dt_root & root,
unsigned long offset )
inlineexplicit

Definition at line 129 of file libfdt++.hpp.

Referenced by dt_node::iterator::operator*().

◆ dt_node() [2/2]

dt_node ( const dt_root & root,
const char * path )
explicit

Definition at line 50 of file libfdt++.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ get_name()

const char * get_name ( ) const

Definition at line 55 of file libfdt++.cpp.

Referenced by dump_fdt_node().

+ Here is the call graph for this function:

◆ offset()

long offset ( ) const
inline

Definition at line 136 of file libfdt++.hpp.

Referenced by dt_property::dt_property().

◆ begin()

dt_node::iterator begin ( ) const

Definition at line 66 of file libfdt++.cpp.

+ Here is the call graph for this function:

◆ end()

dt_node::iterator end ( ) const

Definition at line 71 of file libfdt++.cpp.

◆ has_property()

bool has_property ( const char * name) const

Definition at line 92 of file libfdt++.cpp.

+ Here is the call graph for this function:

◆ root()

const dt_root & root ( ) const
inline

Definition at line 145 of file libfdt++.hpp.

Referenced by dt_node(), dt_property::dt_property(), and dt_property::dt_property().

◆ properties()

node_property_list properties ( ) const
inline

Definition at line 146 of file libfdt++.hpp.

Referenced by dump_fdt_node().

◆ get_property()

dt_property get_property ( const char * name) const
inline

Definition at line 147 of file libfdt++.hpp.

◆ operator[]()

dt_property operator[] ( const char * name) const
inline

Definition at line 148 of file libfdt++.hpp.

Member Data Documentation

◆ m_root

const dt_root& m_root
private

◆ m_offset

unsigned long m_offset
private

Definition at line 153 of file libfdt++.hpp.

Referenced by begin(), dt_node(), get_name(), has_property(), and offset().


The documentation for this class was generated from the following files: