blob: 204679263ee4f8958bddf921f50c53db5bd3035a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#include "bu/optparser.h"
Bu::OptParser::OptParser()
{
}
Bu::OptParser::~OptParser()
{
}
void Bu::OptParser::addOption( const Option &opt )
{
lOption.append( opt );
if( opt.cOpt != '\0' )
hsOption.insert( opt.cOpt, &lOption.last() );
if( opt.sOpt )
hlOption.insert( opt.sOpt, &lOption.last() );
}
Bu::FString Bu::OptParser::format( const Bu::FString &sIn, int iWidth,
int iIndent )
{
}
//
// Code for Bu::OptParser::Option
//
Bu::OptParser::Option::Option()
{
}
Bu::OptParser::Option::~Option()
{
}
|