ArKanjo 0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
FunctionData Class Reference

#include <function_data.hpp>

Public Member Functions

template<typename T >
void add_feature (std::shared_ptr< T > feature)
 
template<typename T >
std::shared_ptr< T > get_feature () const
 

Public Attributes

std::string path
 
std::string function_name
 Name of the function.
 
std::unordered_map< std::type_index, std::shared_ptr< void > > features
 

Detailed Description

Definition at line 8 of file function_data.hpp.

Member Function Documentation

◆ add_feature()

template<typename T >
void FunctionData::add_feature ( std::shared_ptr< T > feature)

Definition at line 22 of file function_data.hpp.

◆ get_feature()

template<typename T >
std::shared_ptr< T > FunctionData::get_feature ( ) const

Definition at line 27 of file function_data.hpp.

Member Data Documentation

◆ features

std::unordered_map<std::type_index, std::shared_ptr<void> > FunctionData::features

Definition at line 19 of file function_data.hpp.

◆ function_name

std::string FunctionData::function_name

Name of the function.

Extracted identifier of the function (e.g., "main", "process_data").

Definition at line 17 of file function_data.hpp.

◆ path

std::string FunctionData::path

Definition at line 10 of file function_data.hpp.


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