opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
osc::Class Class Referencefinal

#include <class.h>

Public Member Functions

 Class ()
 
 Class (std::string_view name, const Class &parent_class=Class{}, std::span< const PropertyInfo > properties=std::span< const PropertyInfo >{})
 
const StringNamename () const
 
std::optional< Classparent_class () const
 
std::span< const PropertyInfoproperties () const
 
std::optional< size_tproperty_index (const StringName &property_name) const
 

Friends

bool operator== (const Class &, const Class &)
 

Constructor & Destructor Documentation

◆ Class() [1/2]

osc::Class::Class ( )

◆ Class() [2/2]

osc::Class::Class ( std::string_view  name,
const Class parent_class = Class{},
std::span< const PropertyInfo properties = std::span< const PropertyInfo >{} 
)
explicit

Member Function Documentation

◆ name()

const StringName & osc::Class::name ( ) const

◆ parent_class()

std::optional< Class > osc::Class::parent_class ( ) const

◆ properties()

std::span< const PropertyInfo > osc::Class::properties ( ) const

◆ property_index()

std::optional< size_t > osc::Class::property_index ( const StringName property_name) const

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const Class ,
const Class  
)
friend

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