2 * Copyright (C) 2005 Casper S. Hornstrup
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 Right ( const string
& s
, size_t n
)
31 return string ( &s
[s
.size()-n
] );
35 Replace ( const string
& s
, const string
& find
, const string
& with
)
38 const char* p
= s
.c_str();
41 const char* p2
= strstr ( p
, find
.c_str() );
45 ret
+= string ( p
, p2
-p
);
55 FixSeparator ( const string
& s
)
58 char* p
= strchr ( &s2
[0], CBAD_SEP
);
62 p
= strchr ( p
, CBAD_SEP
);
68 DosSeparator ( const string
& s
)
71 char* p
= strchr ( &s2
[0], '/' );
75 p
= strchr ( p
, '/' );
82 const string
& filename
,
83 const string
& newExtension
)
85 size_t index
= filename
.find_last_of ( '/' );
86 if ( index
== string::npos
)
88 size_t index2
= filename
.find_last_of ( '\\' );
89 if ( index2
!= string::npos
&& index2
> index
)
91 string tmp
= filename
.substr( index
/*, filename.size() - index*/ );
92 size_t ext_index
= tmp
.find_last_of( '.' );
93 if ( ext_index
!= string::npos
)
94 return filename
.substr ( 0, index
+ ext_index
) + newExtension
;
95 return filename
+ newExtension
;
100 const string
& location
,
102 const string
& att_value
)
104 if ( !att_value
.size() )
105 throw InvalidBuildFileException (
107 "<directory> tag has empty 'name' attribute" );
108 if ( strpbrk ( att_value
.c_str (), "/\\?*:<>|" ) )
109 throw InvalidBuildFileException (
111 "<directory> tag has invalid characters in 'name' attribute" );
114 return FixSeparator(path
+ CSEP
+ att_value
);
118 GetExtension ( const string
& filename
)
120 size_t index
= filename
.find_last_of ( '/' );
121 if (index
== string::npos
) index
= 0;
122 string tmp
= filename
.substr( index
, filename
.size() - index
);
123 size_t ext_index
= tmp
.find_last_of( '.' );
124 if (ext_index
!= string::npos
)
125 return filename
.substr ( index
+ ext_index
, filename
.size() );
130 GetDirectory ( const string
& filename
)
132 size_t index
= filename
.find_last_of ( CSEP
);
133 if ( index
== string::npos
)
136 return filename
.substr ( 0, index
);
140 GetFilename ( const string
& filename
)
142 size_t index
= filename
.find_last_of ( CSEP
);
143 if ( index
== string::npos
)
146 return filename
.substr ( index
+ 1, filename
.length () - index
);
150 NormalizeFilename ( const string
& filename
)
152 if ( filename
== "" )
155 string normalizedPath
= path
.Fixup ( filename
, true );
156 string relativeNormalizedPath
= path
.RelativeFromWorkingDirectory ( normalizedPath
);
157 return FixSeparator ( relativeNormalizedPath
);
161 GetBooleanValue ( const string
& value
)
169 IfableData::~IfableData()
172 for ( i
= 0; i
< files
.size(); i
++ )
174 for ( i
= 0; i
< includes
.size(); i
++ )
176 for ( i
= 0; i
< defines
.size(); i
++ )
178 for ( i
= 0; i
< libraries
.size(); i
++ )
180 for ( i
= 0; i
< properties
.size(); i
++ )
181 delete properties
[i
];
182 for ( i
= 0; i
< compilerFlags
.size(); i
++ )
183 delete compilerFlags
[i
];
184 for ( i
= 0; i
< ifs
.size(); i
++ )
188 void IfableData::ProcessXML ()
191 for ( i
= 0; i
< files
.size (); i
++ )
192 files
[i
]->ProcessXML ();
193 for ( i
= 0; i
< includes
.size (); i
++ )
194 includes
[i
]->ProcessXML ();
195 for ( i
= 0; i
< defines
.size (); i
++ )
196 defines
[i
]->ProcessXML ();
197 for ( i
= 0; i
< libraries
.size (); i
++ )
198 libraries
[i
]->ProcessXML ();
199 for ( i
= 0; i
< properties
.size(); i
++ )
200 properties
[i
]->ProcessXML ();
201 for ( i
= 0; i
< compilerFlags
.size(); i
++ )
202 compilerFlags
[i
]->ProcessXML ();
203 for ( i
= 0; i
< ifs
.size (); i
++ )
204 ifs
[i
]->ProcessXML ();
207 Module::Module ( const Project
& project
,
208 const XMLElement
& moduleNode
,
209 const string
& modulePath
)
212 importLibrary (NULL
),
218 if ( node
.name
!= "module" )
219 throw InvalidOperationException ( __FILE__
,
221 "Module created with non-<module> node" );
223 xmlbuildFile
= Path::RelativeFromWorkingDirectory ( moduleNode
.xmlFile
->filename () );
225 path
= FixSeparator ( modulePath
);
229 const XMLAttribute
* att
= moduleNode
.GetAttribute ( "if", false );
231 enabled
= GetBooleanValue ( project
.ResolveProperties ( att
->value
) );
233 att
= moduleNode
.GetAttribute ( "ifnot", false );
235 enabled
= !GetBooleanValue ( project
.ResolveProperties ( att
->value
) );
237 att
= moduleNode
.GetAttribute ( "name", true );
241 att
= moduleNode
.GetAttribute ( "type", true );
243 type
= GetModuleType ( node
.location
, *att
);
245 att
= moduleNode
.GetAttribute ( "extension", false );
247 extension
= att
->value
;
249 extension
= GetDefaultModuleExtension ();
251 att
= moduleNode
.GetAttribute ( "entrypoint", false );
253 entrypoint
= att
->value
;
255 entrypoint
= GetDefaultModuleEntrypoint ();
257 att
= moduleNode
.GetAttribute ( "baseaddress", false );
259 baseaddress
= att
->value
;
261 baseaddress
= GetDefaultModuleBaseaddress ();
263 att
= moduleNode
.GetAttribute ( "mangledsymbols", false );
266 const char* p
= att
->value
.c_str();
267 if ( !stricmp ( p
, "true" ) || !stricmp ( p
, "yes" ) )
268 mangledSymbols
= true;
269 else if ( !stricmp ( p
, "false" ) || !stricmp ( p
, "no" ) )
270 mangledSymbols
= false;
273 throw InvalidAttributeValueException (
280 mangledSymbols
= false;
282 att
= moduleNode
.GetAttribute ( "host", false );
285 const char* p
= att
->value
.c_str();
286 if ( !stricmp ( p
, "true" ) || !stricmp ( p
, "yes" ) )
288 else if ( !stricmp ( p
, "false" ) || !stricmp ( p
, "no" ) )
292 throw InvalidAttributeValueException (
299 att
= moduleNode
.GetAttribute ( "prefix", false );
303 att
= moduleNode
.GetAttribute ( "installbase", false );
305 installBase
= att
->value
;
309 att
= moduleNode
.GetAttribute ( "installname", false );
311 installName
= att
->value
;
315 att
= moduleNode
.GetAttribute ( "usewrc", false );
317 useWRC
= att
->value
== "true";
321 att
= moduleNode
.GetAttribute ( "allowwarnings", false );
324 att
= moduleNode
.GetAttribute ( "warnings", false );
327 printf ( "%s: WARNING: 'warnings' attribute of <module> is deprecated, use 'allowwarnings' instead\n",
328 moduleNode
.location
.c_str() );
332 allowWarnings
= att
->value
== "true";
334 allowWarnings
= false;
336 att
= moduleNode
.GetAttribute ( "aliasof", false );
337 if ( type
== Alias
&& att
!= NULL
)
338 aliasedModuleName
= att
->value
;
340 aliasedModuleName
= "";
346 for ( i
= 0; i
< invocations
.size(); i
++ )
347 delete invocations
[i
];
348 for ( i
= 0; i
< dependencies
.size(); i
++ )
349 delete dependencies
[i
];
350 for ( i
= 0; i
< compilerFlags
.size(); i
++ )
351 delete compilerFlags
[i
];
352 for ( i
= 0; i
< linkerFlags
.size(); i
++ )
353 delete linkerFlags
[i
];
354 for ( i
= 0; i
< stubbedComponents
.size(); i
++ )
355 delete stubbedComponents
[i
];
365 if ( aliasedModuleName
== name
)
366 throw InvalidBuildFileException (
368 "module '%s' cannot link against itself",
370 const Module
* m
= project
.LocateModule ( aliasedModuleName
);
372 throw InvalidBuildFileException (
374 "module '%s' trying to alias non-existant module '%s'",
376 aliasedModuleName
.c_str() );
380 for ( i
= 0; i
< node
.subElements
.size(); i
++ )
381 ProcessXMLSubElement ( *node
.subElements
[i
], path
);
382 for ( i
= 0; i
< invocations
.size(); i
++ )
383 invocations
[i
]->ProcessXML ();
384 for ( i
= 0; i
< dependencies
.size(); i
++ )
385 dependencies
[i
]->ProcessXML ();
386 for ( i
= 0; i
< compilerFlags
.size(); i
++ )
387 compilerFlags
[i
]->ProcessXML();
388 for ( i
= 0; i
< linkerFlags
.size(); i
++ )
389 linkerFlags
[i
]->ProcessXML();
390 for ( i
= 0; i
< stubbedComponents
.size(); i
++ )
391 stubbedComponents
[i
]->ProcessXML();
392 non_if_data
.ProcessXML();
398 Module::ProcessXMLSubElement ( const XMLElement
& e
,
402 bool subs_invalid
= false;
403 string
subpath ( path
);
404 if ( e
.name
== "file" && e
.value
.size () > 0 )
407 const XMLAttribute
* att
= e
.GetAttribute ( "first", false );
410 if ( !stricmp ( att
->value
.c_str(), "true" ) )
412 else if ( stricmp ( att
->value
.c_str(), "false" ) )
413 throw InvalidBuildFileException (
415 "attribute 'first' of <file> element can only be 'true' or 'false'" );
417 string switches
= "";
418 att
= e
.GetAttribute ( "switches", false );
420 switches
= att
->value
;
423 // check for c++ file
424 string ext
= GetExtension ( e
.value
);
425 if ( !stricmp ( ext
.c_str(), ".cpp" ) )
427 else if ( !stricmp ( ext
.c_str(), ".cc" ) )
429 else if ( !stricmp ( ext
.c_str(), ".cxx" ) )
432 File
* pFile
= new File ( FixSeparator ( path
+ CSEP
+ e
.value
),
437 pIf
->data
.files
.push_back ( pFile
);
439 non_if_data
.files
.push_back ( pFile
);
442 else if ( e
.name
== "library" && e
.value
.size () )
444 Library
* pLibrary
= new Library ( e
, *this, e
.value
);
446 pIf
->data
.libraries
.push_back ( pLibrary
);
448 non_if_data
.libraries
.push_back ( pLibrary
);
451 else if ( e
.name
== "directory" )
453 const XMLAttribute
* att
= e
.GetAttribute ( "name", true );
455 subpath
= GetSubPath ( e
.location
, path
, att
->value
);
457 else if ( e
.name
== "include" )
459 Include
* include
= new Include ( project
, this, &e
);
461 pIf
->data
.includes
.push_back ( include
);
463 non_if_data
.includes
.push_back ( include
);
466 else if ( e
.name
== "define" )
468 Define
* pDefine
= new Define ( project
, this, e
);
470 pIf
->data
.defines
.push_back ( pDefine
);
472 non_if_data
.defines
.push_back ( pDefine
);
475 else if ( e
.name
== "invoke" )
478 throw InvalidBuildFileException (
480 "<invoke> is not a valid sub-element of <if>" );
481 invocations
.push_back ( new Invoke ( e
, *this ) );
482 subs_invalid
= false;
484 else if ( e
.name
== "dependency" )
487 throw InvalidBuildFileException (
489 "<dependency> is not a valid sub-element of <if>" );
490 dependencies
.push_back ( new Dependency ( e
, *this ) );
493 else if ( e
.name
== "importlibrary" )
496 throw InvalidBuildFileException (
498 "<importlibrary> is not a valid sub-element of <if>" );
500 throw InvalidBuildFileException (
502 "Only one <importlibrary> is valid per module" );
503 importLibrary
= new ImportLibrary ( e
, *this );
506 else if ( e
.name
== "if" )
509 pIf
= new If ( e
, project
, this );
511 pOldIf
->data
.ifs
.push_back ( pIf
);
513 non_if_data
.ifs
.push_back ( pIf
);
514 subs_invalid
= false;
516 else if ( e
.name
== "ifnot" )
519 pIf
= new If ( e
, project
, this, true );
521 pOldIf
->data
.ifs
.push_back ( pIf
);
523 non_if_data
.ifs
.push_back ( pIf
);
524 subs_invalid
= false;
526 else if ( e
.name
== "compilerflag" )
528 CompilerFlag
* pCompilerFlag
= new CompilerFlag ( project
, this, e
);
530 pIf
->data
.compilerFlags
.push_back ( pCompilerFlag
);
532 non_if_data
.compilerFlags
.push_back ( pCompilerFlag
);
535 else if ( e
.name
== "linkerflag" )
537 linkerFlags
.push_back ( new LinkerFlag ( project
, this, e
) );
540 else if ( e
.name
== "component" )
542 stubbedComponents
.push_back ( new StubbedComponent ( this, e
) );
543 subs_invalid
= false;
545 else if ( e
.name
== "property" )
547 throw InvalidBuildFileException (
549 "<property> is not a valid sub-element of <module>" );
551 else if ( e
.name
== "bootstrap" )
553 bootstrap
= new Bootstrap ( project
, this, e
);
556 else if ( e
.name
== "pch" )
559 throw InvalidBuildFileException (
561 "<pch> is not a valid sub-element of <if>" );
563 throw InvalidBuildFileException (
565 "Only one <pch> is valid per module" );
567 e
, *this, File ( FixSeparator ( path
+ CSEP
+ e
.value
), false, "", true ) );
570 if ( subs_invalid
&& e
.subElements
.size() > 0 )
571 throw InvalidBuildFileException (
573 "<%s> cannot have sub-elements",
575 for ( size_t i
= 0; i
< e
.subElements
.size (); i
++ )
576 ProcessXMLSubElement ( *e
.subElements
[i
], subpath
, pIf
);
580 Module::GetModuleType ( const string
& location
, const XMLAttribute
& attribute
)
582 if ( attribute
.value
== "buildtool" )
584 if ( attribute
.value
== "staticlibrary" )
585 return StaticLibrary
;
586 if ( attribute
.value
== "objectlibrary" )
587 return ObjectLibrary
;
588 if ( attribute
.value
== "kernel" )
590 if ( attribute
.value
== "kernelmodedll" )
591 return KernelModeDLL
;
592 if ( attribute
.value
== "kernelmodedriver" )
593 return KernelModeDriver
;
594 if ( attribute
.value
== "nativedll" )
596 if ( attribute
.value
== "nativecui" )
598 if ( attribute
.value
== "win32dll" )
600 if ( attribute
.value
== "win32cui" )
602 if ( attribute
.value
== "win32gui" )
604 if ( attribute
.value
== "bootloader" )
606 if ( attribute
.value
== "bootsector" )
608 if ( attribute
.value
== "iso" )
610 if ( attribute
.value
== "liveiso" )
612 if ( attribute
.value
== "test" )
614 if ( attribute
.value
== "rpcserver" )
616 if ( attribute
.value
== "rpcclient" )
618 if ( attribute
.value
== "alias" )
620 throw InvalidAttributeValueException ( location
,
626 Module::GetDefaultModuleExtension () const
645 case KernelModeDriver
:
662 throw InvalidOperationException ( __FILE__
,
667 Module::GetDefaultModuleEntrypoint () const
672 return "_NtProcessStartup";
674 return "_DriverEntry@8";
676 return "_DllMainCRTStartup@12";
678 return "_NtProcessStartup@4";
680 return "_DllMain@12";
683 return "_mainCRTStartup";
685 return "_WinMainCRTStartup";
686 case KernelModeDriver
:
687 return "_DriverEntry@8";
700 throw InvalidOperationException ( __FILE__
,
705 Module::GetDefaultModuleBaseaddress () const
721 case KernelModeDriver
:
735 throw InvalidOperationException ( __FILE__
,
740 Module::HasImportLibrary () const
742 return importLibrary
!= NULL
;
746 Module::IsDLL () const
754 case KernelModeDriver
:
772 throw InvalidOperationException ( __FILE__
,
777 Module::GenerateInOutputTree () const
785 case KernelModeDriver
:
803 throw InvalidOperationException ( __FILE__
,
808 Module::GetTargetName () const
810 return name
+ extension
;
814 Module::GetDependencyPath () const
816 if ( HasImportLibrary () )
817 return ReplaceExtension ( GetPathWithPrefix ( "lib" ), ".a" );
823 Module::GetBasePath () const
829 Module::GetPath () const
831 if ( path
.length() > 0 )
832 return path
+ CSEP
+ GetTargetName ();
834 return GetTargetName ();
838 Module::GetPathWithPrefix ( const string
& prefix
) const
840 return path
+ CSEP
+ prefix
+ GetTargetName ();
844 Module::GetInvocationTarget ( const int index
) const
846 return ssprintf ( "%s_invoke_%d",
852 Module::HasFileWithExtension (
853 const IfableData
& data
,
854 const std::string
& extension
) const
857 for ( i
= 0; i
< data
.files
.size (); i
++ )
859 File
& file
= *data
.files
[i
];
860 string file_ext
= GetExtension ( file
.name
);
861 if ( !stricmp ( file_ext
.c_str (), extension
.c_str () ) )
864 for ( i
= 0; i
< data
.ifs
.size (); i
++ )
866 if ( HasFileWithExtension ( data
.ifs
[i
]->data
, extension
) )
873 Module::InvokeModule () const
875 for ( size_t i
= 0; i
< invocations
.size (); i
++ )
877 Invoke
& invoke
= *invocations
[i
];
878 string command
= invoke
.invokeModule
->GetPath () + " " + invoke
.GetParameters ();
879 printf ( "Executing '%s'\n\n", command
.c_str () );
880 int exitcode
= system ( command
.c_str () );
882 throw InvocationFailedException ( command
,
888 File::File ( const string
& _name
, bool _first
,
889 std::string _switches
,
890 bool _isPreCompiledHeader
)
894 isPreCompiledHeader(_isPreCompiledHeader
)
904 File::IsGeneratedFile () const
906 string extension
= GetExtension ( name
);
907 return ( extension
== ".spec" || extension
== ".SPEC" );
911 Library::Library ( const XMLElement
& _node
,
912 const Module
& _module
,
913 const string
& _name
)
917 importedModule(_module
.project
.LocateModule(_name
))
919 if ( module
.name
== name
)
920 throw InvalidBuildFileException (
922 "module '%s' cannot link against itself",
924 if ( !importedModule
)
925 throw InvalidBuildFileException (
927 "module '%s' trying to import non-existant module '%s'",
933 Library::ProcessXML()
935 if ( !module
.project
.LocateModule ( name
) )
936 throw InvalidBuildFileException (
938 "module '%s' is trying to link against non-existant module '%s'",
944 Invoke::Invoke ( const XMLElement
& _node
,
945 const Module
& _module
)
954 const XMLAttribute
* att
= node
.GetAttribute ( "module", false );
956 invokeModule
= &module
;
959 invokeModule
= module
.project
.LocateModule ( att
->value
);
960 if ( invokeModule
== NULL
)
961 throw InvalidBuildFileException (
963 "module '%s' is trying to invoke non-existant module '%s'",
965 att
->value
.c_str() );
968 for ( size_t i
= 0; i
< node
.subElements
.size (); i
++ )
969 ProcessXMLSubElement ( *node
.subElements
[i
] );
973 Invoke::ProcessXMLSubElement ( const XMLElement
& e
)
975 bool subs_invalid
= false;
976 if ( e
.name
== "input" )
978 for ( size_t i
= 0; i
< e
.subElements
.size (); i
++ )
979 ProcessXMLSubElementInput ( *e
.subElements
[i
] );
981 else if ( e
.name
== "output" )
983 for ( size_t i
= 0; i
< e
.subElements
.size (); i
++ )
984 ProcessXMLSubElementOutput ( *e
.subElements
[i
] );
986 if ( subs_invalid
&& e
.subElements
.size() > 0 )
987 throw InvalidBuildFileException ( e
.location
,
988 "<%s> cannot have sub-elements",
993 Invoke::ProcessXMLSubElementInput ( const XMLElement
& e
)
995 bool subs_invalid
= false;
996 if ( e
.name
== "inputfile" && e
.value
.size () > 0 )
998 input
.push_back ( new InvokeFile ( e
, FixSeparator ( module
.path
+ CSEP
+ e
.value
) ) );
1001 if ( subs_invalid
&& e
.subElements
.size() > 0 )
1002 throw InvalidBuildFileException ( e
.location
,
1003 "<%s> cannot have sub-elements",
1008 Invoke::ProcessXMLSubElementOutput ( const XMLElement
& e
)
1010 bool subs_invalid
= false;
1011 if ( e
.name
== "outputfile" && e
.value
.size () > 0 )
1013 output
.push_back ( new InvokeFile ( e
, FixSeparator ( module
.path
+ CSEP
+ e
.value
) ) );
1014 subs_invalid
= true;
1016 if ( subs_invalid
&& e
.subElements
.size() > 0 )
1017 throw InvalidBuildFileException (
1019 "<%s> cannot have sub-elements",
1024 Invoke::GetTargets ( string_list
& targets
) const
1026 for ( size_t i
= 0; i
< output
.size (); i
++ )
1028 InvokeFile
& file
= *output
[i
];
1029 targets
.push_back ( NormalizeFilename ( file
.name
) );
1034 Invoke::GetParameters () const
1036 string
parameters ( "" );
1038 for ( i
= 0; i
< output
.size (); i
++ )
1040 if ( parameters
.length () > 0)
1042 InvokeFile
& invokeFile
= *output
[i
];
1043 if ( invokeFile
.switches
.length () > 0 )
1045 parameters
+= invokeFile
.switches
+ " ";
1047 parameters
+= invokeFile
.name
;
1050 for ( i
= 0; i
< input
.size (); i
++ )
1052 if ( parameters
.length () > 0 )
1054 InvokeFile
& invokeFile
= *input
[i
];
1055 if ( invokeFile
.switches
.length () > 0 )
1057 parameters
+= invokeFile
.switches
;
1060 parameters
+= invokeFile
.name
;
1067 InvokeFile::InvokeFile ( const XMLElement
& _node
,
1068 const string
& _name
)
1072 const XMLAttribute
* att
= _node
.GetAttribute ( "switches", false );
1074 switches
= att
->value
;
1080 InvokeFile::ProcessXML()
1085 Dependency::Dependency ( const XMLElement
& _node
,
1086 const Module
& _module
)
1089 dependencyModule (NULL
)
1094 Dependency::ProcessXML()
1096 dependencyModule
= module
.project
.LocateModule ( node
.value
);
1097 if ( dependencyModule
== NULL
)
1098 throw InvalidBuildFileException ( node
.location
,
1099 "module '%s' depend on non-existant module '%s'",
1100 module
.name
.c_str(),
1101 node
.value
.c_str() );
1105 ImportLibrary::ImportLibrary ( const XMLElement
& _node
,
1106 const Module
& _module
)
1110 const XMLAttribute
* att
= _node
.GetAttribute ( "basename", false );
1112 basename
= att
->value
;
1114 basename
= module
.name
;
1116 att
= _node
.GetAttribute ( "definition", true );
1118 definition
= FixSeparator(att
->value
);
1122 If::If ( const XMLElement
& node_
,
1123 const Project
& project_
,
1124 const Module
* module_
,
1125 const bool negated_
)
1126 : node(node_
), project(project_
), module(module_
), negated(negated_
)
1128 const XMLAttribute
* att
;
1130 att
= node
.GetAttribute ( "property", true );
1132 property
= att
->value
;
1134 att
= node
.GetAttribute ( "value", true );
1149 Property::Property ( const XMLElement
& node_
,
1150 const Project
& project_
,
1151 const Module
* module_
)
1152 : node(node_
), project(project_
), module(module_
)
1154 const XMLAttribute
* att
;
1156 att
= node
.GetAttribute ( "name", true );
1160 att
= node
.GetAttribute ( "value", true );
1166 Property::ProcessXML()
1172 const XMLElement
& node_
,
1173 const Module
& module_
,
1175 : node(node_
), module(module_
), file(file_
)
1180 PchFile::ProcessXML()