Loading ...
Sorry, an error occurred while loading the content.

Messages List

108

Re: questions about Inherit and extend C++ class from script in cpgf

Thanks very much! On Thursday, September 18, 2014 4:48 PM, "Wang Qi wqking@... [cpgf-user]" wrote: NewClass is created in
eric ma
Sep 18, 2014
#108
 
107

Re: questions about Inherit and extend C++ class from script in cpgf

NewClass is created in script. You can pass NewClass back to C++ via a function you provide to the script. See how the function metaClassIsSimpleObject works
Wang Qi
Sep 18, 2014
#107
 
106

Re: questions about Inherit and extend C++ class from script in cpgf

Inherit and extend C++ class from script in cpgf library Inherit and extend C++ class from script in cpgf library Usually the purpose to inherit or extend C++
eric ma
Sep 18, 2014
#106
 
105

Re: questions about Inherit and extend C++ class from script in cpgf

You can only access NewClass in C++ to access the script-overrided getValue. And you can only access NewClass via IMetaClass, not NewClass itself. IMetaClass
Wang Qi
Sep 17, 2014
#105
 
104

Re: questions about Inherit and extend C++ class from script in cpgf

Do you mean I extend or inherit C++ Class MyClass as NewClass in script, then I can get the extended function getValve by access MyClass in C++? On Thursday,
eric ma
Sep 17, 2014
#104
 
103

Re: questions about Inherit and extend C++ class from script in cpgf

Hi Eric, You can pass a C++ class back to C++ from the script. In C++, the class is wrapped as a pointer to IMetaClass. There is unit tests for this kind of
Wang Qi
Sep 17, 2014
#103
 
102

Re: questions about Inherit and extend C++ class from script in cpgf

Hi all, I have a question about "Extend C++ class from script in cpgf library". As following code, in script we extend MyClass as NewClass. I want to know can
eric ma
Sep 17, 2014
#102
 
101

questions about Inherit and extend C++ class from script in cpgf lib

大家好, 我想问一个关于在script中继承和扩展c++类的问题,
eric ma
Sep 17, 2014
#101
 
100

Re: Modified cpgf/metagen and Questions about Distribution

Hi Scott, Seems you've done great work on improving cpgf. I'm eager to see your changes. You may send me the patches via mail. However, as you may be aware of,
Wang Qi
Feb 22, 2014
#100
 
99

NDN:

Sorry. Your message could not be delivered to: gwiyjyji,Sanger (The name was not found at the remote site. Check that the name has been entered correctly.)
Internet
Feb 22, 2014
#99
 
98

NDN:

Sorry. Your message could not be delivered to: gwiyjyji,Sanger (The name was not found at the remote site. Check that the name has been entered correctly.)
Internet
Feb 22, 2014
#98
 
97

NDN:

Sorry. Your message could not be delivered to: gwiyjyji,Sanger (The name was not found at the remote site. Check that the name has been entered correctly.)
Internet
Feb 22, 2014
#97
 
96

NDN:

Sorry. Your message could not be delivered to: gwiyjyji,Sanger (The name was not found at the remote site. Check that the name has been entered correctly.)
Internet
Feb 22, 2014
#96
 
95

NDN:

Sorry. Your message could not be delivered to: gwiyjyji,Sanger (The name was not found at the remote site. Check that the name has been entered correctly.)
Internet
Feb 22, 2014
#95
 
94

NDN:

Sorry. Your message could not be delivered to: gwiyjyji,Sanger (The name was not found at the remote site. Check that the name has been entered correctly.)
Internet
Feb 22, 2014
#94
 
View First Topic Go to View Last Topic