#include <KeyDef.h>

Public Member Functions | |
| KeyDef (TableDefPtr foreignTable, cstring name, bool primary) | |
| Constructs a key for the specified foreign table with the specified name. | |
| ~KeyDef () | |
| Destructor, a noop. | |
| bool | isKey () const |
| Returns that this field is a key field. | |
| bool | isPrimaryKey () const |
| Whether this field is a primary key field. | |
| TableDefPtr | getForeignTable () |
| Returns the foreign table for this key, is NULL for native keys. | |
Based on this class KeyImpl's will be generated.
Definition at line 38 of file KeyDef.h.
| KeyDef::KeyDef | ( | TableDefPtr | foreignTable, | |
| cstring | name, | |||
| bool | primary | |||
| ) | [inline] |
| bool KeyDef::isKey | ( | ) | const [inline, virtual] |
| bool KeyDef::isPrimaryKey | ( | ) | const [inline, virtual] |
| TableDefPtr KeyDef::getForeignTable | ( | ) | [inline] |
1.5.3