Developer documentation
Version 3.0.3-105-gd3941f44
MR::File::ParsedName Class Reference

a class to hold a parsed image filename More...

#include "file/name_parser.h"

Classes

class  List
 a class to hold a set of parsed image filenames More...
 

Public Member Functions

 ParsedName (const std::string &name, const vector< uint32_t > &index)
 
std::string name () const
 
size_t ndim () const
 
uint32_t index (size_t num) const
 
bool operator< (const ParsedName &pn) const
 

Protected Attributes

vector< uint32_t > indices
 
std::string filename
 

Friends

std::ostream & operator<< (std::ostream &stream, const ParsedName &pin)
 

Detailed Description

a class to hold a parsed image filename

Definition at line 151 of file name_parser.h.

Constructor & Destructor Documentation

◆ ParsedName()

MR::File::ParsedName::ParsedName ( const std::string &  name,
const vector< uint32_t > &  index 
)
inline

Definition at line 153 of file name_parser.h.

Member Function Documentation

◆ index()

uint32_t MR::File::ParsedName::index ( size_t  num) const
inline

Definition at line 189 of file name_parser.h.

◆ name()

std::string MR::File::ParsedName::name ( ) const
inline

Definition at line 183 of file name_parser.h.

◆ ndim()

size_t MR::File::ParsedName::ndim ( ) const
inline

Definition at line 186 of file name_parser.h.

◆ operator<()

bool MR::File::ParsedName::operator< ( const ParsedName pn) const

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const ParsedName pin 
)
friend

Member Data Documentation

◆ filename

std::string MR::File::ParsedName::filename
protected

Definition at line 198 of file name_parser.h.

◆ indices

vector<uint32_t> MR::File::ParsedName::indices
protected

Definition at line 197 of file name_parser.h.


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