Digital Image Correlation Engine  Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
Public Member Functions | Private Attributes | List of all members
DICe::Command_Line_Parser Class Reference

Parses the input options from the command line. More...

#include <DICe_Parser.h>

Public Member Functions

 Command_Line_Parser (int &argc, char **argv)
 constructor More...
 
const std::string & get_option (const std::string &option) const
 get the commend line options More...
 
bool option_exists (const std::string &option) const
 check if an option exists More...
 

Private Attributes

std::vector< std::string > tokens
 vector of all the tokens in the command line
 

Detailed Description

Parses the input options from the command line.

Constructor & Destructor Documentation

◆ Command_Line_Parser()

DICe::Command_Line_Parser::Command_Line_Parser ( int &  argc,
char **  argv 
)

constructor

Parameters
argcargc
argvargv

Member Function Documentation

◆ get_option()

const std::string& DICe::Command_Line_Parser::get_option ( const std::string &  option) const

get the commend line options

Parameters
optionthe option to get the command line values for

◆ option_exists()

bool DICe::Command_Line_Parser::option_exists ( const std::string &  option) const

check if an option exists

Parameters
optionthe option to test for