Packages

class CGenerator extends CodeGenerator

C++ code generator that prints a file header, include statements, declarations, and the output of bodyGenerator.

Linear Supertypes
CodeGenerator, (Expression) ⇒ (String, String), AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CGenerator
  2. CodeGenerator
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CGenerator(bodyGenerator: CodeGenerator, init: Formula, defs: Declaration)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: ((String, String)) ⇒ A): (Expression) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(expr: Expression, stateVars: Set[BaseVariable], inputVars: Set[BaseVariable], fileName: String): (String, String)

    Generate C Code for given expression using the data type cDataType throughout and the input list of variables

    Generate C Code for given expression using the data type cDataType throughout and the input list of variables

    Definition Classes
    CGeneratorCodeGenerator
  6. def apply(expr: Expression, stateVars: Set[BaseVariable], inputVars: Set[BaseVariable]): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters. inputVars is a subset of stateVars whose value is nondeterministically chosen in the original program.

    Definition Classes
    CodeGenerator
  7. def apply(expr: Expression, stateVars: Set[BaseVariable]): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters.

    Definition Classes
    CodeGenerator
  8. def apply(expr: Expression): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. All symbols in expr are treated as constant parameters.

    Definition Classes
    CodeGenerator → Function1
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compose[A](g: (A) ⇒ Expression): (A) ⇒ (String, String)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from CodeGenerator

Inherited from (Expression) ⇒ (String, String)

Inherited from AnyRef

Inherited from Any

Ungrouped