[gme-users] adding registry nodes via General
Preferencesinthemetamodel
Zoltan Molnar
zolmol at isis.vanderbilt.edu
Thu May 11 22:51:39 CDT 2006
/ is the answer.
Zoli
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu on behalf of Matthew J. Emerson
Sent: Thu 5/11/2006 5:22 PM
To: gme-users
Cc:
Subject: RE: [gme-users] adding registry nodes via General Preferencesinthemetamodel
When using BON::RegistryNode::GetValueByPath to retrieve a node value, what is the path delimiter?
For example, all of the registry nodes I’m using are children of the root of the registry. However, simply calling regRoot->GetValueByPath(“entryName”) does not return any value to me. I suppose I need to include some leading delimiter? What character is used?
Thanks,
Matt
_____
From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Zoltan Molnar
Sent: Thursday, May 11, 2006 2:25 PM
To: gme-users
Subject: RE: [gme-users] adding registry nodes via General Preferences inthemetamodel
I believe GenPrefs can be used for such purpose.
Inherited registry nodes can be overwritten/specialized anytime by inserting a node with the same name. If you'd like to revert later, you have just to delete the node in the fco, and the inherited one (either from a base, or from the meta definition) will be visible again.
Zoli
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Matthew J. Emerson
Sent: Thursday, May 11, 2006 2:03 PM
To: gme-users
Subject: RE: [gme-users] adding registry nodes via General Preferences in themetamodel
Also, if registry nodes are specified this way in a base type in the metamodel, can they be overridden in a derived type by using the same key-names?
_____
From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Matthew J. Emerson
Sent: Thursday, May 11, 2006 1:37 PM
To: gme-users
Subject: [gme-users] adding registry nodes via General Preferences in the metamodel
I want to add some key-value pairs to the registry which will act like C++ static class attributes for some of the kinds defined in my metamodel.
Is this done simply by adding into the General Preferences field of each class something of the form “<key> = <value>”?
Thanks,
Matt
More information about the gme-users
mailing list