Brain  1.0.0
A fast esoteric language!
ArgsHandler Class Reference

Consumes the arguments passed to brain and do whatever actions it's supposed to. More...

#include <ArgsHandler.h>

Public Member Functions

 ArgsHandler (int argc, char *argv[])
 
std::string get_string_file ()
 Returns the content of the source file passed to Brain as a string.
 
std::string get_file_name ()
 Returns the name of the file passed to Brain as a string.
 

Protected Member Functions

void handle (int argc, char *argv[])
 Called in the constructor to handle all the arguments passed to Brain.
 

Protected Attributes

std::string _string_file
 The source file passed to Brain.
 
std::string _file_name
 The name of the string file.
 

Detailed Description

Consumes the arguments passed to brain and do whatever actions it's supposed to.


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