cppncss
Class CppNcssTask.Symbol

java.lang.Object
  extended by cppncss.CppNcssTask.Symbol
Direct Known Subclasses:
CppNcssTask.Define, CppNcssTask.Macro
Enclosing class:
CppNcssTask

public static class CppNcssTask.Symbol
extends java.lang.Object

Provides a symbol definition.

Author:
Mathieu Champlon

Constructor Summary
protected CppNcssTask.Symbol(java.lang.String prefix)
          Create a symbol.
 
Method Summary
 java.lang.String getName()
          Retrieve the name.
 java.lang.String getValue()
          Retrieve the value.
 void setName(java.lang.String name)
          Sets the name.
 void setValue(java.lang.String value)
          Sets the macro value.
 java.lang.String toArgument()
          Create the corresponding command line argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CppNcssTask.Symbol

protected CppNcssTask.Symbol(java.lang.String prefix)
Create a symbol.

Parameters:
prefix - the command line option prefix
Method Detail

setName

public final void setName(java.lang.String name)
Sets the name.

Required.

Parameters:
name - the name

getName

public final java.lang.String getName()
Retrieve the name.

Returns:
the name

setValue

public final void setValue(java.lang.String value)
Sets the macro value.

Required.

Parameters:
value - the value

getValue

public final java.lang.String getValue()
Retrieve the value.

Returns:
the value

toArgument

public final java.lang.String toArgument()
Create the corresponding command line argument.

Returns:
the formatted argument


Copyright © 2006-2007 null. All Rights Reserved.