With the ability to get the fcd xml data, it is possible to add additional metadata to the fcd file and use it without extending the current APIs. (just read and parse the XML data at run-time to get at the information). I have started using this in one application and just committed a test to show everyone some of the things I am thinking of adding.
Take a look at: http://opensg.vrsource.org/trac/changeset/230 This adds min_value and max_value for Real fields and a list of potential_value enums for GLenum fields. Any comments? -Allen Allen Bierbaum wrote: >I just committed some code that add extends the FieldContainerType and >FieldDescription classes. These classes now support querying >documentation and the raw text of the XML (from the .fcd file) that was >used to generate the code. > >The XML retrieval should be particularly helpful in the future to extend >the metadata support in OpenSG without having to extend the APIs. For >example it would now be possible to add data to a field element to >provide custom information to the user at run-time. (for example valid >ranges, allowed values, etc) > >-Allen > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Opensg-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/opensg-users > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
