Thanks, that appears to meet my needs. One question through. How do I know if its a VerseKey module? There is the HasChildren method which checks if it is a TreeKey, If its not a TreeKey can I assume its a VerseKey?
God Bless, Daniel Hughes On Tue, Sep 23, 2014 at 12:38 PM, Troy A. Griffitts <[email protected]> wrote: > Hey Daniel, > > Sorry for the delay getting back with you. There is a way to retrieve this. > getKeyChildren is primarily intended for TreeKey modules, but when called on > a VerseKey it will give you a bunch components of the current key, including > the osisRef (or osisID) for that key. Have a look at the documentation for > that method in the flatapi.cpp file. > > Hope this helps, > > Troy > > > > > On 09/16/2014 03:29 AM, Daniel Hughes wrote: >> >> I need to retrieve the KeyText in OSIS format (eg 'gal.2.3') though >> the c# bindings which means through the flat API. >> >> Would it be difficult to expose this through the flat api? >> >> And if so is there someone with the c/c++ ability who is willing to >> implement it in exchange for my my appreciation... >> >> I will do the c# binding work as soon as it is available on flatapi. >> >> Cheers, >> Daniel >> >> _______________________________________________ >> sword-devel mailing list: [email protected] >> http://www.crosswire.org/mailman/listinfo/sword-devel >> Instructions to unsubscribe/change your settings at above page > > > > > > _______________________________________________ > sword-devel mailing list: [email protected] > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
