ML functions
 
Loading...
Searching...
No Matches
ml::TreeType Class Reference

A custom opaque type for representing tree structures. More...

#include <VeloxDecisionTree.h>

Inheritance diagram for ml::TreeType:

Public Member Functions

std::string toString () const override
 Convert the type to a string representation.
 
const char * name () const override
 Get the name of the type.
 

Static Public Member Functions

static const std::shared_ptr< const TreeType > & get ()
 Get a shared instance of TreeType.
 

Detailed Description

A custom opaque type for representing tree structures.

This class inherits from OpaqueType and is used to define a custom type for trees.

Member Function Documentation

◆ get()

static const std::shared_ptr< const TreeType > & ml::TreeType::get ( )
inlinestatic

Get a shared instance of TreeType.

Returns
A shared pointer to a constant TreeType instance.

◆ name()

const char * ml::TreeType::name ( ) const
inlineoverride

Get the name of the type.

Returns
A C-string representing the name of the type.

◆ toString()

std::string ml::TreeType::toString ( ) const
inlineoverride

Convert the type to a string representation.

Returns
A string representing the type.

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