SAI Metadata
Loading...
Searching...
No Matches
_sai_object_type_info_t Struct Reference

SAI object type information. More...

#include <saimetadatatypes.h>

Public Attributes

sai_object_type_t objecttype
 Object Type.
 
const char *const objecttypename
 Object Type name.
 
sai_attr_id_t attridstart
 Start of attributes *_START.
 
sai_attr_id_t attridend
 End of attributes *_END.
 
const sai_enum_metadata_t *const enummetadata
 Provides enum attr metadata related to this object type.
 
const sai_attr_metadata_t *const *const attrmetadata
 Attributes metadata.
 
size_t attrmetadatalength
 Attributes metadata length.
 
bool isnonobjectid
 Indicates if object is using struct instead of actual object id.
 
bool isobjectid
 Indicates if object is OID object.
 
const sai_struct_member_info_t *const *const structmembers
 Defines all struct members.
 
size_t structmemberscount
 Defines count of struct members.
 
const sai_rev_graph_member_t *const *const revgraphmembers
 Defines reverse dependency graph members.
 
size_t revgraphmemberscount
 Defines reverse dependency graph members count.
 
const sai_meta_generic_create_fn create
 Create function pointer.
 
const sai_meta_generic_remove_fn remove
 Remove function pointer.
 
const sai_meta_generic_set_fn set
 Set function pointer.
 
const sai_meta_generic_get_fn get
 Get function pointer.
 
const sai_meta_generic_get_stats_fn getstats
 Get stats function pointer.
 
const sai_meta_generic_get_stats_ext_fn getstatsext
 Get stats extended function pointer.
 
const sai_meta_generic_clear_stats_fn clearstats
 Clear stats function pointer.
 
bool isexperimental
 Indicates whether object type is experimental.
 
const sai_enum_metadata_t *const statenum
 Points to enum sai_OBJECT_TYPE_stat_t if object supports stats.
 

Detailed Description

SAI object type information.

Definition at line 1502 of file saimetadatatypes.h.

Member Data Documentation

◆ attridend

sai_attr_id_t _sai_object_type_info_t::attridend

End of attributes *_END.

Definition at line 1522 of file saimetadatatypes.h.

◆ attridstart

sai_attr_id_t _sai_object_type_info_t::attridstart

Start of attributes *_START.

Definition at line 1517 of file saimetadatatypes.h.

◆ attrmetadata

const sai_attr_metadata_t* const* const _sai_object_type_info_t::attrmetadata

Attributes metadata.

Definition at line 1533 of file saimetadatatypes.h.

◆ attrmetadatalength

size_t _sai_object_type_info_t::attrmetadatalength

Attributes metadata length.

Definition at line 1538 of file saimetadatatypes.h.

◆ clearstats

const sai_meta_generic_clear_stats_fn _sai_object_type_info_t::clearstats

Clear stats function pointer.

Definition at line 1604 of file saimetadatatypes.h.

◆ create

const sai_meta_generic_create_fn _sai_object_type_info_t::create

Create function pointer.

Definition at line 1574 of file saimetadatatypes.h.

◆ enummetadata

const sai_enum_metadata_t* const _sai_object_type_info_t::enummetadata

Provides enum attr metadata related to this object type.

Definition at line 1528 of file saimetadatatypes.h.

◆ get

const sai_meta_generic_get_fn _sai_object_type_info_t::get

Get function pointer.

Definition at line 1589 of file saimetadatatypes.h.

◆ getstats

const sai_meta_generic_get_stats_fn _sai_object_type_info_t::getstats

Get stats function pointer.

Definition at line 1594 of file saimetadatatypes.h.

◆ getstatsext

const sai_meta_generic_get_stats_ext_fn _sai_object_type_info_t::getstatsext

Get stats extended function pointer.

Definition at line 1599 of file saimetadatatypes.h.

◆ isexperimental

bool _sai_object_type_info_t::isexperimental

Indicates whether object type is experimental.

Definition at line 1609 of file saimetadatatypes.h.

◆ isnonobjectid

bool _sai_object_type_info_t::isnonobjectid

Indicates if object is using struct instead of actual object id.

Definition at line 1544 of file saimetadatatypes.h.

◆ isobjectid

bool _sai_object_type_info_t::isobjectid

Indicates if object is OID object.

Definition at line 1549 of file saimetadatatypes.h.

◆ objecttype

sai_object_type_t _sai_object_type_info_t::objecttype

Object Type.

Definition at line 1507 of file saimetadatatypes.h.

◆ objecttypename

const char* const _sai_object_type_info_t::objecttypename

Object Type name.

Definition at line 1512 of file saimetadatatypes.h.

◆ remove

const sai_meta_generic_remove_fn _sai_object_type_info_t::remove

Remove function pointer.

Definition at line 1579 of file saimetadatatypes.h.

◆ revgraphmembers

const sai_rev_graph_member_t* const* const _sai_object_type_info_t::revgraphmembers

Defines reverse dependency graph members.

Definition at line 1564 of file saimetadatatypes.h.

◆ revgraphmemberscount

size_t _sai_object_type_info_t::revgraphmemberscount

Defines reverse dependency graph members count.

Definition at line 1569 of file saimetadatatypes.h.

◆ set

const sai_meta_generic_set_fn _sai_object_type_info_t::set

Set function pointer.

Definition at line 1584 of file saimetadatatypes.h.

◆ statenum

const sai_enum_metadata_t* const _sai_object_type_info_t::statenum

Points to enum sai_OBJECT_TYPE_stat_t if object supports stats.

Definition at line 1614 of file saimetadatatypes.h.

◆ structmembers

const sai_struct_member_info_t* const* const _sai_object_type_info_t::structmembers

Defines all struct members.

Definition at line 1554 of file saimetadatatypes.h.

◆ structmemberscount

size_t _sai_object_type_info_t::structmemberscount

Defines count of struct members.

Definition at line 1559 of file saimetadatatypes.h.


The documentation for this struct was generated from the following file: