Changeset 8

Show
Ignore:
Timestamp:
01/06/07 15:26:26 (2 years ago)
Author:
aarti_pl
Message:

Any - additional method clear.
ProgramOptions - changed method of importing of all clases to
doost.program_options_all -> doost.program_options.all

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doost/any.d

    r5 r8  
    3434    } 
    3535 
    36     this() { 
    37         content=null; 
    38     } 
    39  
    4036    // ValueType can not be of Any type by D language design, so we should care 
    4137    // only about other cases... 
     
    5450    bool empty() { 
    5551        return (content is null); 
     52    } 
     53 
     54    void clear() { 
     55        content=null; 
    5656    } 
    5757 
  • trunk/doost/common.d

    r5 r8  
    99module doost.common; 
    1010 
     11public import std.stdio; 
     12 
    1113alias char[] string; 
  • trunk/examples/any/any.cbp

    r5 r8  
    2121        <Compiler> 
    2222            <Add option="-unittest" /> 
    23             <Add directory="/home/marcin/Programy/D/" /> 
     23            <Add directory="../../" /> 
    2424        </Compiler> 
    2525        <Unit filename="../../doost/any.d"> 
  • trunk/examples/program_options/custom_syntax.d

    r5 r8  
    1717*/ 
    1818 
    19 import doost.program_options_all; 
     19import doost.program_options.all; 
    2020import std.stdio; 
    2121import std.string; 
  • trunk/examples/program_options/first.d

    r5 r8  
    1313 */ 
    1414 
    15 import doost.program_options_all; 
     15import doost.program_options.all; 
    1616import std.stdio; 
    1717 
  • trunk/examples/program_options/multiple_sources.d

    r5 r8  
    1515import std.stdio; 
    1616 
    17 import doost.program_options_all; 
     17import doost.program_options.all; 
    1818 
    1919int main(string[] args) { 
  • trunk/examples/program_options/option_groups.d

    r5 r8  
    2626 
    2727 
    28 import doost.program_options_all; 
     28import doost.program_options.all; 
    2929import std.stdio; 
    3030 
  • trunk/examples/program_options/optionsdescription.d

    r6 r8  
    1010// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    1111 
    12 import doost.program_options_all; 
     12import doost.program_options.all; 
    1313import std.stdio; 
    1414 
  • trunk/examples/program_options/program_options.cbp

    r7 r8  
    105105            <Option target="First" /> 
    106106        </Unit> 
     107        <Unit filename="../../doost/program_options/all.d"> 
     108            <Option compilerVar="CPP" /> 
     109            <Option target="OptionGroups" /> 
     110            <Option target="OptionsDescription" /> 
     111            <Option target="CustomSyntax" /> 
     112            <Option target="MultipleSources" /> 
     113            <Option target="ResponseFile" /> 
     114            <Option target="Real" /> 
     115            <Option target="RegEx" /> 
     116            <Option target="First" /> 
     117        </Unit> 
    107118        <Unit filename="../../doost/program_options/command_line_parser.d"> 
    108119            <Option compilerVar="CPP" /> 
     
    218229        </Unit> 
    219230        <Unit filename="../../doost/program_options/variables_map.d"> 
    220             <Option compilerVar="CPP" /> 
    221             <Option target="OptionGroups" /> 
    222             <Option target="OptionsDescription" /> 
    223             <Option target="CustomSyntax" /> 
    224             <Option target="MultipleSources" /> 
    225             <Option target="ResponseFile" /> 
    226             <Option target="Real" /> 
    227             <Option target="RegEx" /> 
    228             <Option target="First" /> 
    229         </Unit> 
    230         <Unit filename="../../doost/program_options_all.d"> 
    231231            <Option compilerVar="CPP" /> 
    232232            <Option target="OptionGroups" /> 
  • trunk/examples/program_options/real.d

    r5 r8  
    1010// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    1111 
    12 import doost.program_options_all; 
     12import doost.program_options.all; 
    1313import std.stdio; 
    1414 
  • trunk/examples/program_options/regex.d

    r5 r8  
    2626// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    2727 
    28 import doost.program_options_all; 
     28import doost.program_options.all; 
    2929import std.regexp; 
    3030 
  • trunk/examples/program_options/response_file.d

    r5 r8  
    2323 
    2424 
    25 import doost.program_options_all; 
     25import doost.program_options.all; 
    2626import std.stdio; 
    2727import std.string;