D++ (DPP)
A Lightweight C++ library for Discord
dpp::managed Class Reference

The managed class is the base class for various types that can be stored in a cache that are identified by a dpp::snowflake id. More...

+ Inheritance diagram for dpp::managed:
+ Collaboration diagram for dpp::managed:

Public Member Functions

 managed (const snowflake=0)
 
virtual ~managed ()=default
 

Public Attributes

snowflake id
 

Detailed Description

The managed class is the base class for various types that can be stored in a cache that are identified by a dpp::snowflake id.

Constructor & Destructor Documentation

◆ managed()

dpp::managed::managed ( const snowflake  nid = 0)

Constructor, initialises id to 0

◆ ~managed()

virtual dpp::managed::~managed ( )
virtualdefault

Default destructor

Member Data Documentation

◆ id

snowflake dpp::managed::id

Unique ID of object

D++ Library version 9.0.14D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0