CBICA Toolkit  1.0.0
FileNameParts Struct Reference

Holds the different parts of a file name (path, base and extension) More...

#include <cbicaUtilities.h>

Public Member Functions

 FileNameParts ()
 Default Constructor.
 
 FileNameParts (const std::string &inputFileName)
 Constructor with input file string. More...
 
void SetFileName (const std::string &inputFileName)
 Member function to set the fullFileName. More...
 

Public Attributes

std::string base
 
std::string extension
 
std::string fullFileName
 
std::string path
 

Detailed Description

Holds the different parts of a file name (path, base and extension)

This is a helper struct for uses concerning uses where different parts of a file (path, base, ext) need to be used multiple times.

Constructor & Destructor Documentation

◆ FileNameParts()

FileNameParts ( const std::string &  inputFileName)
inline

Constructor with input file string.

Parameters
inputFileNameThe complete input file name

Member Function Documentation

◆ SetFileName()

void SetFileName ( const std::string &  inputFileName)
inline

Member function to set the fullFileName.

Parameters
inputFileNameThe complete input file name

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