Last change
on this file was 829, checked in by イグトランス (egtra), 13 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
730 bytes
|
Line | |
---|
1 | #include "stdafx.h"
|
---|
2 | #include <jenga/include/jenga.h>
|
---|
3 | #include <abdev/ab_common/include/ab_common.h>
|
---|
4 |
|
---|
5 | ExpandedTemplateClass::~ExpandedTemplateClass()
|
---|
6 | {
|
---|
7 | if( pClass )
|
---|
8 | {
|
---|
9 | delete pClass;
|
---|
10 | }
|
---|
11 | }
|
---|
12 |
|
---|
13 | bool ExpandedTemplateClass::Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors )
|
---|
14 | {
|
---|
15 | if( pClass->IsNeedResolve() )
|
---|
16 | {
|
---|
17 | CClass *pTempClass = const_cast<CClass *>(resolver.meta.GetClasses().FindLike( pClass ));
|
---|
18 | if( pTempClass )
|
---|
19 | {
|
---|
20 | this->pClass = pTempClass;
|
---|
21 | }
|
---|
22 | else
|
---|
23 | {
|
---|
24 | resolveErrors.Add( ResolveError( this->pClass->GetRelationalObjectModuleIndex(), this->pClass->GetFullName() ) );
|
---|
25 | }
|
---|
26 | }
|
---|
27 |
|
---|
28 | BOOST_FOREACH( Type &actualType, actualTypes )
|
---|
29 | {
|
---|
30 | actualType.Resolve( resolver, resolveErrors );
|
---|
31 | }
|
---|
32 |
|
---|
33 | return true;
|
---|
34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.