Lesson 5: Interface Definition Language of CAR

=Overview = CAR component technology simplifies the development process. After writing a car file, the CAR compiler can automatically generates a basic code framework for developers. This chapter further describes:
 * CAR Grammar
 * CAR Data Types
 * CAR Keywords
 * Attributes/Modifiers

=Quick Tutorial =

Basic Types

 * Char8
 * Char16
 * Boolean
 * Float
 * Double
 * Int16
 * Int32
 * Int64
 * Byte
 * ECode
 * String
 * CString
 * UInt8
 * SystemTime
 * Address
 * Flags8
 * Flags16
 * Flags32
 * Flags64
 * Handle32
 * Handle64
 * Seconds32
 * Seconds64
 * Milliseconds32
 * Milliseconds64
 * Microseconds32
 * Microseconds64
 * PVoid
 * Int8
 * UInt16
 * UInt32
 * UInt64

Class Types

 * StringBuf
 * BufferOf
 * ArrayOf
 * MemoryBuf
 * DateTime
 * EventHandler
 * ObjectContainer
 * SimpleContainer
 * StringTokenizer
 * struct CarQuintet
 * struct ObjectNode

This table Data Types comparison between Elastos and C++ shows the relationship between CAR Data Types and C++ Data Types.

This table Data Types Rules shows the rules about CAR Data Types as parameters of interface functions when used in car files.

Keywords
Programming Constructs
 * 1) Interface
 * 2) Callback
 * 3) Class
 * 4) Generic
 * 5) Aspect
 * 6) Regime

Attributes/Modifiers
Back