[vos-d] new property design
Reed Hedges
reed at interreality.org
Tue Apr 25 21:00:41 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Amstutz wrote:
> For each above numerical type, a vector version is also defined, so:
> property:vector.int
Just one level of vectorness?
> property:text.ascii
> property:text.utf-8 (not much UTF-8 handling inside of VOS yet though)\\
Since ASCII is basically a subset of UTF-8, right, I'd just have text.
> property:string (for storing "anything else" -- do actually want this?)
If so I'd name it something else; just an opaque set bytes you can use
when what you have doesn't fit into any datatype or mime type, right? I
guess you could always just invent a mime type for you data, just call
it application.x-my-weird-type or use the "vnd" MIME prefix thing.
> I should mention that if we wanted, the property code could provide a
> reader for, say, png data, so that you could then access the image data
> (perhaps even with an abstract Image2D* or Model3D* interface). Just a
> thought.
The return of the son of the bride of typechain!!
Reed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFETsY5FK83gN8ItOQRAljCAJ9qri4TA+G7ZVGty7YV48OhLcF3aACeO6Mu
HdhG8f+aIQJi5eivczG9ap8=
=anxS
-----END PGP SIGNATURE-----
More information about the vos-d
mailing list