Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Mixed subtable methods #32

Closed
bmunkholm opened this issue Jun 20, 2012 · 1 comment
Closed

Implement Mixed subtable methods #32

bmunkholm opened this issue Jun 20, 2012 · 1 comment

Comments

@bmunkholm
Copy link
Contributor

For C++ highlevel:
A Mixed column with cells being subtables, poses some challenge. So for this we could make the following API:

// Create a subtable of the type T at the specific cell
createSubtable()

// Get the subtable of type T at the specific cell
getSubtable() (return NULL if not compatible with type T)

// Return true if the cell is of type T
bool isSubtable() (helper for above)

// Schema not defined at compile time, dynamic during runtime:
"DynamicSchemaTable" getSubtable()
+ methods for looking at the spec and updating it

@kspangsege
Copy link
Contributor

Some of this has been done (maybe all of it).

Note: Names are not supposed to be camelCased in our C++ API.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants