Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::DynamicLibraryInfo Struct Reference

Information on a dynamic library file using the _DL_INFORMATION macro. More...

#include <DynamicLibraryInfo.h>

Collaboration diagram for sf::DynamicLibraryInfo:
[legend]

Public Member Functions

 DynamicLibraryInfo ()=default
 Default constructor.
 DynamicLibraryInfo (const DynamicLibraryInfo &)
 Copy constructor.
std::string path () const
 PAth to the library. Combines directory and filename.
bool read (const std::string &dir, const std::string &filename)
 Reads the information from the file.
void clear ()
 Clears all the members.

Public Attributes

std::string directory {}
 Directory of the dynamic library.
std::string filename {}
 Filename of the dynamic library.
std::string name {}
 Name of the dynamic library.
std::string description {}
 Description of the dynamic library.

Detailed Description

Information on a dynamic library file using the _DL_INFORMATION macro.

Constructor & Destructor Documentation

◆ DynamicLibraryInfo() [1/2]

sf::DynamicLibraryInfo::DynamicLibraryInfo ( )
default

Default constructor.

◆ DynamicLibraryInfo() [2/2]

sf::DynamicLibraryInfo::DynamicLibraryInfo ( const DynamicLibraryInfo & )

Copy constructor.

Member Function Documentation

◆ clear()

void sf::DynamicLibraryInfo::clear ( )

Clears all the members.

◆ path()

std::string sf::DynamicLibraryInfo::path ( ) const
nodiscard

PAth to the library. Combines directory and filename.

◆ read()

bool sf::DynamicLibraryInfo::read ( const std::string & dir,
const std::string & filename )

Reads the information from the file.

Parameters
dirDirectory of the
filenameLocation of the dynamic library file relative to the directory.
Returns
True on success.

Member Data Documentation

◆ description

std::string sf::DynamicLibraryInfo::description {}

Description of the dynamic library.

◆ directory

std::string sf::DynamicLibraryInfo::directory {}

Directory of the dynamic library.

◆ filename

std::string sf::DynamicLibraryInfo::filename {}

Filename of the dynamic library.

◆ name

std::string sf::DynamicLibraryInfo::name {}

Name of the dynamic library.


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