IFCReaderGen_4.cpp 395 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206
  1. /*
  2. Open Asset Import Library (ASSIMP)
  3. ----------------------------------------------------------------------
  4. Copyright (c) 2006-2010, ASSIMP Development Team
  5. All rights reserved.
  6. Redistribution and use of this software in source and binary forms,
  7. with or without modification, are permitted provided that the
  8. following conditions are met:
  9. * Redistributions of source code must retain the above
  10. copyright notice, this list of conditions and the
  11. following disclaimer.
  12. * Redistributions in binary form must reproduce the above
  13. copyright notice, this list of conditions and the
  14. following disclaimer in the documentation and/or other
  15. materials provided with the distribution.
  16. * Neither the name of the ASSIMP team, nor the names of its
  17. contributors may be used to endorse or promote products
  18. derived from this software without specific prior
  19. written permission of the ASSIMP Development Team.
  20. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. ----------------------------------------------------------------------
  32. */
  33. /** MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py */
  34. #include "AssimpPCH.h"
  35. #ifndef ASSIMP_BUILD_NO_IFC_IMPORTER
  36. #include "IFCReaderGen.h"
  37. namespace Assimp {
  38. using namespace IFC;
  39. namespace {
  40. typedef EXPRESS::ConversionSchema::SchemaEntry SchemaEntry;
  41. const SchemaEntry schema_raw[] = {
  42. SchemaEntry("ifcstrippedoptional",NULL )
  43. , SchemaEntry("ifcabsorbeddosemeasure",NULL )
  44. , SchemaEntry("ifcaccelerationmeasure",NULL )
  45. , SchemaEntry("ifcamountofsubstancemeasure",NULL )
  46. , SchemaEntry("ifcangularvelocitymeasure",NULL )
  47. , SchemaEntry("ifcarcindex",NULL )
  48. , SchemaEntry("ifcareadensitymeasure",NULL )
  49. , SchemaEntry("ifcareameasure",NULL )
  50. , SchemaEntry("ifcbinary",NULL )
  51. , SchemaEntry("ifcboolean",NULL )
  52. , SchemaEntry("ifcboxalignment",NULL )
  53. , SchemaEntry("ifccardinalpointreference",NULL )
  54. , SchemaEntry("ifccomplexnumber",NULL )
  55. , SchemaEntry("ifccompoundplaneanglemeasure",NULL )
  56. , SchemaEntry("ifccontextdependentmeasure",NULL )
  57. , SchemaEntry("ifccountmeasure",NULL )
  58. , SchemaEntry("ifccurvaturemeasure",NULL )
  59. , SchemaEntry("ifcdate",NULL )
  60. , SchemaEntry("ifcdatetime",NULL )
  61. , SchemaEntry("ifcdayinmonthnumber",NULL )
  62. , SchemaEntry("ifcdayinweeknumber",NULL )
  63. , SchemaEntry("ifcdescriptivemeasure",NULL )
  64. , SchemaEntry("ifcdimensioncount",NULL )
  65. , SchemaEntry("ifcdoseequivalentmeasure",NULL )
  66. , SchemaEntry("ifcduration",NULL )
  67. , SchemaEntry("ifcdynamicviscositymeasure",NULL )
  68. , SchemaEntry("ifcelectriccapacitancemeasure",NULL )
  69. , SchemaEntry("ifcelectricchargemeasure",NULL )
  70. , SchemaEntry("ifcelectricconductancemeasure",NULL )
  71. , SchemaEntry("ifcelectriccurrentmeasure",NULL )
  72. , SchemaEntry("ifcelectricresistancemeasure",NULL )
  73. , SchemaEntry("ifcelectricvoltagemeasure",NULL )
  74. , SchemaEntry("ifcenergymeasure",NULL )
  75. , SchemaEntry("ifcfontstyle",NULL )
  76. , SchemaEntry("ifcfontvariant",NULL )
  77. , SchemaEntry("ifcfontweight",NULL )
  78. , SchemaEntry("ifcforcemeasure",NULL )
  79. , SchemaEntry("ifcfrequencymeasure",NULL )
  80. , SchemaEntry("ifcgloballyuniqueid",NULL )
  81. , SchemaEntry("ifcheatfluxdensitymeasure",NULL )
  82. , SchemaEntry("ifcheatingvaluemeasure",NULL )
  83. , SchemaEntry("ifcidentifier",NULL )
  84. , SchemaEntry("ifcilluminancemeasure",NULL )
  85. , SchemaEntry("ifcinductancemeasure",NULL )
  86. , SchemaEntry("ifcinteger",NULL )
  87. , SchemaEntry("ifcintegercountratemeasure",NULL )
  88. , SchemaEntry("ifcionconcentrationmeasure",NULL )
  89. , SchemaEntry("ifcisothermalmoisturecapacitymeasure",NULL )
  90. , SchemaEntry("ifckinematicviscositymeasure",NULL )
  91. , SchemaEntry("ifclabel",NULL )
  92. , SchemaEntry("ifclanguageid",NULL )
  93. , SchemaEntry("ifclengthmeasure",NULL )
  94. , SchemaEntry("ifclineindex",NULL )
  95. , SchemaEntry("ifclinearforcemeasure",NULL )
  96. , SchemaEntry("ifclinearmomentmeasure",NULL )
  97. , SchemaEntry("ifclinearstiffnessmeasure",NULL )
  98. , SchemaEntry("ifclinearvelocitymeasure",NULL )
  99. , SchemaEntry("ifclogical",NULL )
  100. , SchemaEntry("ifcluminousfluxmeasure",NULL )
  101. , SchemaEntry("ifcluminousintensitydistributionmeasure",NULL )
  102. , SchemaEntry("ifcluminousintensitymeasure",NULL )
  103. , SchemaEntry("ifcmagneticfluxdensitymeasure",NULL )
  104. , SchemaEntry("ifcmagneticfluxmeasure",NULL )
  105. , SchemaEntry("ifcmassdensitymeasure",NULL )
  106. , SchemaEntry("ifcmassflowratemeasure",NULL )
  107. , SchemaEntry("ifcmassmeasure",NULL )
  108. , SchemaEntry("ifcmassperlengthmeasure",NULL )
  109. , SchemaEntry("ifcmodulusofelasticitymeasure",NULL )
  110. , SchemaEntry("ifcmodulusoflinearsubgradereactionmeasure",NULL )
  111. , SchemaEntry("ifcmodulusofrotationalsubgradereactionmeasure",NULL )
  112. , SchemaEntry("ifcmodulusofsubgradereactionmeasure",NULL )
  113. , SchemaEntry("ifcmoisturediffusivitymeasure",NULL )
  114. , SchemaEntry("ifcmolecularweightmeasure",NULL )
  115. , SchemaEntry("ifcmomentofinertiameasure",NULL )
  116. , SchemaEntry("ifcmonetarymeasure",NULL )
  117. , SchemaEntry("ifcmonthinyearnumber",NULL )
  118. , SchemaEntry("ifcnonnegativelengthmeasure",NULL )
  119. , SchemaEntry("ifcnormalisedratiomeasure",NULL )
  120. , SchemaEntry("ifcnumericmeasure",NULL )
  121. , SchemaEntry("ifcphmeasure",NULL )
  122. , SchemaEntry("ifcparametervalue",NULL )
  123. , SchemaEntry("ifcplanarforcemeasure",NULL )
  124. , SchemaEntry("ifcplaneanglemeasure",NULL )
  125. , SchemaEntry("ifcpositiveinteger",NULL )
  126. , SchemaEntry("ifcpositivelengthmeasure",NULL )
  127. , SchemaEntry("ifcpositiveplaneanglemeasure",NULL )
  128. , SchemaEntry("ifcpositiveratiomeasure",NULL )
  129. , SchemaEntry("ifcpowermeasure",NULL )
  130. , SchemaEntry("ifcpresentabletext",NULL )
  131. , SchemaEntry("ifcpressuremeasure",NULL )
  132. , SchemaEntry("ifcpropertysetdefinitionset",NULL )
  133. , SchemaEntry("ifcradioactivitymeasure",NULL )
  134. , SchemaEntry("ifcratiomeasure",NULL )
  135. , SchemaEntry("ifcreal",NULL )
  136. , SchemaEntry("ifcrotationalfrequencymeasure",NULL )
  137. , SchemaEntry("ifcrotationalmassmeasure",NULL )
  138. , SchemaEntry("ifcrotationalstiffnessmeasure",NULL )
  139. , SchemaEntry("ifcsectionmodulusmeasure",NULL )
  140. , SchemaEntry("ifcsectionalareaintegralmeasure",NULL )
  141. , SchemaEntry("ifcshearmodulusmeasure",NULL )
  142. , SchemaEntry("ifcsolidanglemeasure",NULL )
  143. , SchemaEntry("ifcsoundpowerlevelmeasure",NULL )
  144. , SchemaEntry("ifcsoundpowermeasure",NULL )
  145. , SchemaEntry("ifcsoundpressurelevelmeasure",NULL )
  146. , SchemaEntry("ifcsoundpressuremeasure",NULL )
  147. , SchemaEntry("ifcspecificheatcapacitymeasure",NULL )
  148. , SchemaEntry("ifcspecularexponent",NULL )
  149. , SchemaEntry("ifcspecularroughness",NULL )
  150. , SchemaEntry("ifctemperaturegradientmeasure",NULL )
  151. , SchemaEntry("ifctemperaturerateofchangemeasure",NULL )
  152. , SchemaEntry("ifctext",NULL )
  153. , SchemaEntry("ifctextalignment",NULL )
  154. , SchemaEntry("ifctextdecoration",NULL )
  155. , SchemaEntry("ifctextfontname",NULL )
  156. , SchemaEntry("ifctexttransformation",NULL )
  157. , SchemaEntry("ifcthermaladmittancemeasure",NULL )
  158. , SchemaEntry("ifcthermalconductivitymeasure",NULL )
  159. , SchemaEntry("ifcthermalexpansioncoefficientmeasure",NULL )
  160. , SchemaEntry("ifcthermalresistancemeasure",NULL )
  161. , SchemaEntry("ifcthermaltransmittancemeasure",NULL )
  162. , SchemaEntry("ifcthermodynamictemperaturemeasure",NULL )
  163. , SchemaEntry("ifctime",NULL )
  164. , SchemaEntry("ifctimemeasure",NULL )
  165. , SchemaEntry("ifctimestamp",NULL )
  166. , SchemaEntry("ifctorquemeasure",NULL )
  167. , SchemaEntry("ifcurireference",NULL )
  168. , SchemaEntry("ifcvaporpermeabilitymeasure",NULL )
  169. , SchemaEntry("ifcvolumemeasure",NULL )
  170. , SchemaEntry("ifcvolumetricflowratemeasure",NULL )
  171. , SchemaEntry("ifcwarpingconstantmeasure",NULL )
  172. , SchemaEntry("ifcwarpingmomentmeasure",NULL )
  173. , SchemaEntry("ifcactionrequesttypeenum",NULL )
  174. , SchemaEntry("ifcactionsourcetypeenum",NULL )
  175. , SchemaEntry("ifcactiontypeenum",NULL )
  176. , SchemaEntry("ifcactuatortypeenum",NULL )
  177. , SchemaEntry("ifcaddresstypeenum",NULL )
  178. , SchemaEntry("ifcairterminalboxtypeenum",NULL )
  179. , SchemaEntry("ifcairterminaltypeenum",NULL )
  180. , SchemaEntry("ifcairtoairheatrecoverytypeenum",NULL )
  181. , SchemaEntry("ifcalarmtypeenum",NULL )
  182. , SchemaEntry("ifcanalysismodeltypeenum",NULL )
  183. , SchemaEntry("ifcanalysistheorytypeenum",NULL )
  184. , SchemaEntry("ifcarithmeticoperatorenum",NULL )
  185. , SchemaEntry("ifcassemblyplaceenum",NULL )
  186. , SchemaEntry("ifcaudiovisualappliancetypeenum",NULL )
  187. , SchemaEntry("ifcbsplinecurveform",NULL )
  188. , SchemaEntry("ifcbsplinesurfaceform",NULL )
  189. , SchemaEntry("ifcbeamtypeenum",NULL )
  190. , SchemaEntry("ifcbenchmarkenum",NULL )
  191. , SchemaEntry("ifcboilertypeenum",NULL )
  192. , SchemaEntry("ifcbooleanoperator",NULL )
  193. , SchemaEntry("ifcbuildingelementparttypeenum",NULL )
  194. , SchemaEntry("ifcbuildingelementproxytypeenum",NULL )
  195. , SchemaEntry("ifcbuildingsystemtypeenum",NULL )
  196. , SchemaEntry("ifcburnertypeenum",NULL )
  197. , SchemaEntry("ifccablecarrierfittingtypeenum",NULL )
  198. , SchemaEntry("ifccablecarriersegmenttypeenum",NULL )
  199. , SchemaEntry("ifccablefittingtypeenum",NULL )
  200. , SchemaEntry("ifccablesegmenttypeenum",NULL )
  201. , SchemaEntry("ifcchangeactionenum",NULL )
  202. , SchemaEntry("ifcchillertypeenum",NULL )
  203. , SchemaEntry("ifcchimneytypeenum",NULL )
  204. , SchemaEntry("ifccoiltypeenum",NULL )
  205. , SchemaEntry("ifccolumntypeenum",NULL )
  206. , SchemaEntry("ifccommunicationsappliancetypeenum",NULL )
  207. , SchemaEntry("ifccomplexpropertytemplatetypeenum",NULL )
  208. , SchemaEntry("ifccompressortypeenum",NULL )
  209. , SchemaEntry("ifccondensertypeenum",NULL )
  210. , SchemaEntry("ifcconnectiontypeenum",NULL )
  211. , SchemaEntry("ifcconstraintenum",NULL )
  212. , SchemaEntry("ifcconstructionequipmentresourcetypeenum",NULL )
  213. , SchemaEntry("ifcconstructionmaterialresourcetypeenum",NULL )
  214. , SchemaEntry("ifcconstructionproductresourcetypeenum",NULL )
  215. , SchemaEntry("ifccontrollertypeenum",NULL )
  216. , SchemaEntry("ifccooledbeamtypeenum",NULL )
  217. , SchemaEntry("ifccoolingtowertypeenum",NULL )
  218. , SchemaEntry("ifccostitemtypeenum",NULL )
  219. , SchemaEntry("ifccostscheduletypeenum",NULL )
  220. , SchemaEntry("ifccoveringtypeenum",NULL )
  221. , SchemaEntry("ifccrewresourcetypeenum",NULL )
  222. , SchemaEntry("ifccurtainwalltypeenum",NULL )
  223. , SchemaEntry("ifccurveinterpolationenum",NULL )
  224. , SchemaEntry("ifcdampertypeenum",NULL )
  225. , SchemaEntry("ifcdataoriginenum",NULL )
  226. , SchemaEntry("ifcderivedunitenum",NULL )
  227. , SchemaEntry("ifcdirectionsenseenum",NULL )
  228. , SchemaEntry("ifcdiscreteaccessorytypeenum",NULL )
  229. , SchemaEntry("ifcdistributionchamberelementtypeenum",NULL )
  230. , SchemaEntry("ifcdistributionporttypeenum",NULL )
  231. , SchemaEntry("ifcdistributionsystemenum",NULL )
  232. , SchemaEntry("ifcdocumentconfidentialityenum",NULL )
  233. , SchemaEntry("ifcdocumentstatusenum",NULL )
  234. , SchemaEntry("ifcdoorpaneloperationenum",NULL )
  235. , SchemaEntry("ifcdoorpanelpositionenum",NULL )
  236. , SchemaEntry("ifcdoorstyleconstructionenum",NULL )
  237. , SchemaEntry("ifcdoorstyleoperationenum",NULL )
  238. , SchemaEntry("ifcdoortypeenum",NULL )
  239. , SchemaEntry("ifcdoortypeoperationenum",NULL )
  240. , SchemaEntry("ifcductfittingtypeenum",NULL )
  241. , SchemaEntry("ifcductsegmenttypeenum",NULL )
  242. , SchemaEntry("ifcductsilencertypeenum",NULL )
  243. , SchemaEntry("ifcelectricappliancetypeenum",NULL )
  244. , SchemaEntry("ifcelectricdistributionboardtypeenum",NULL )
  245. , SchemaEntry("ifcelectricflowstoragedevicetypeenum",NULL )
  246. , SchemaEntry("ifcelectricgeneratortypeenum",NULL )
  247. , SchemaEntry("ifcelectricmotortypeenum",NULL )
  248. , SchemaEntry("ifcelectrictimecontroltypeenum",NULL )
  249. , SchemaEntry("ifcelementassemblytypeenum",NULL )
  250. , SchemaEntry("ifcelementcompositionenum",NULL )
  251. , SchemaEntry("ifcenginetypeenum",NULL )
  252. , SchemaEntry("ifcevaporativecoolertypeenum",NULL )
  253. , SchemaEntry("ifcevaporatortypeenum",NULL )
  254. , SchemaEntry("ifceventtriggertypeenum",NULL )
  255. , SchemaEntry("ifceventtypeenum",NULL )
  256. , SchemaEntry("ifcexternalspatialelementtypeenum",NULL )
  257. , SchemaEntry("ifcfantypeenum",NULL )
  258. , SchemaEntry("ifcfastenertypeenum",NULL )
  259. , SchemaEntry("ifcfiltertypeenum",NULL )
  260. , SchemaEntry("ifcfiresuppressionterminaltypeenum",NULL )
  261. , SchemaEntry("ifcflowdirectionenum",NULL )
  262. , SchemaEntry("ifcflowinstrumenttypeenum",NULL )
  263. , SchemaEntry("ifcflowmetertypeenum",NULL )
  264. , SchemaEntry("ifcfootingtypeenum",NULL )
  265. , SchemaEntry("ifcfurnituretypeenum",NULL )
  266. , SchemaEntry("ifcgeographicelementtypeenum",NULL )
  267. , SchemaEntry("ifcgeometricprojectionenum",NULL )
  268. , SchemaEntry("ifcglobalorlocalenum",NULL )
  269. , SchemaEntry("ifcgridtypeenum",NULL )
  270. , SchemaEntry("ifcheatexchangertypeenum",NULL )
  271. , SchemaEntry("ifchumidifiertypeenum",NULL )
  272. , SchemaEntry("ifcinterceptortypeenum",NULL )
  273. , SchemaEntry("ifcinternalorexternalenum",NULL )
  274. , SchemaEntry("ifcinventorytypeenum",NULL )
  275. , SchemaEntry("ifcjunctionboxtypeenum",NULL )
  276. , SchemaEntry("ifcknottype",NULL )
  277. , SchemaEntry("ifclaborresourcetypeenum",NULL )
  278. , SchemaEntry("ifclamptypeenum",NULL )
  279. , SchemaEntry("ifclayersetdirectionenum",NULL )
  280. , SchemaEntry("ifclightdistributioncurveenum",NULL )
  281. , SchemaEntry("ifclightemissionsourceenum",NULL )
  282. , SchemaEntry("ifclightfixturetypeenum",NULL )
  283. , SchemaEntry("ifcloadgrouptypeenum",NULL )
  284. , SchemaEntry("ifclogicaloperatorenum",NULL )
  285. , SchemaEntry("ifcmechanicalfastenertypeenum",NULL )
  286. , SchemaEntry("ifcmedicaldevicetypeenum",NULL )
  287. , SchemaEntry("ifcmembertypeenum",NULL )
  288. , SchemaEntry("ifcmotorconnectiontypeenum",NULL )
  289. , SchemaEntry("ifcnullstyle",NULL )
  290. , SchemaEntry("ifcobjecttypeenum",NULL )
  291. , SchemaEntry("ifcobjectiveenum",NULL )
  292. , SchemaEntry("ifcoccupanttypeenum",NULL )
  293. , SchemaEntry("ifcopeningelementtypeenum",NULL )
  294. , SchemaEntry("ifcoutlettypeenum",NULL )
  295. , SchemaEntry("ifcperformancehistorytypeenum",NULL )
  296. , SchemaEntry("ifcpermeablecoveringoperationenum",NULL )
  297. , SchemaEntry("ifcpermittypeenum",NULL )
  298. , SchemaEntry("ifcphysicalorvirtualenum",NULL )
  299. , SchemaEntry("ifcpileconstructionenum",NULL )
  300. , SchemaEntry("ifcpiletypeenum",NULL )
  301. , SchemaEntry("ifcpipefittingtypeenum",NULL )
  302. , SchemaEntry("ifcpipesegmenttypeenum",NULL )
  303. , SchemaEntry("ifcplatetypeenum",NULL )
  304. , SchemaEntry("ifcpreferredsurfacecurverepresentation",NULL )
  305. , SchemaEntry("ifcproceduretypeenum",NULL )
  306. , SchemaEntry("ifcprofiletypeenum",NULL )
  307. , SchemaEntry("ifcprojectordertypeenum",NULL )
  308. , SchemaEntry("ifcprojectedortruelengthenum",NULL )
  309. , SchemaEntry("ifcprojectionelementtypeenum",NULL )
  310. , SchemaEntry("ifcpropertysettemplatetypeenum",NULL )
  311. , SchemaEntry("ifcprotectivedevicetrippingunittypeenum",NULL )
  312. , SchemaEntry("ifcprotectivedevicetypeenum",NULL )
  313. , SchemaEntry("ifcpumptypeenum",NULL )
  314. , SchemaEntry("ifcrailingtypeenum",NULL )
  315. , SchemaEntry("ifcrampflighttypeenum",NULL )
  316. , SchemaEntry("ifcramptypeenum",NULL )
  317. , SchemaEntry("ifcrecurrencetypeenum",NULL )
  318. , SchemaEntry("ifcreflectancemethodenum",NULL )
  319. , SchemaEntry("ifcreinforcingbarroleenum",NULL )
  320. , SchemaEntry("ifcreinforcingbarsurfaceenum",NULL )
  321. , SchemaEntry("ifcreinforcingbartypeenum",NULL )
  322. , SchemaEntry("ifcreinforcingmeshtypeenum",NULL )
  323. , SchemaEntry("ifcroleenum",NULL )
  324. , SchemaEntry("ifcrooftypeenum",NULL )
  325. , SchemaEntry("ifcsiprefix",NULL )
  326. , SchemaEntry("ifcsiunitname",NULL )
  327. , SchemaEntry("ifcsanitaryterminaltypeenum",NULL )
  328. , SchemaEntry("ifcsectiontypeenum",NULL )
  329. , SchemaEntry("ifcsensortypeenum",NULL )
  330. , SchemaEntry("ifcsequenceenum",NULL )
  331. , SchemaEntry("ifcshadingdevicetypeenum",NULL )
  332. , SchemaEntry("ifcsimplepropertytemplatetypeenum",NULL )
  333. , SchemaEntry("ifcslabtypeenum",NULL )
  334. , SchemaEntry("ifcsolardevicetypeenum",NULL )
  335. , SchemaEntry("ifcspaceheatertypeenum",NULL )
  336. , SchemaEntry("ifcspacetypeenum",NULL )
  337. , SchemaEntry("ifcspatialzonetypeenum",NULL )
  338. , SchemaEntry("ifcstackterminaltypeenum",NULL )
  339. , SchemaEntry("ifcstairflighttypeenum",NULL )
  340. , SchemaEntry("ifcstairtypeenum",NULL )
  341. , SchemaEntry("ifcstateenum",NULL )
  342. , SchemaEntry("ifcstructuralcurveactivitytypeenum",NULL )
  343. , SchemaEntry("ifcstructuralcurvemembertypeenum",NULL )
  344. , SchemaEntry("ifcstructuralsurfaceactivitytypeenum",NULL )
  345. , SchemaEntry("ifcstructuralsurfacemembertypeenum",NULL )
  346. , SchemaEntry("ifcsubcontractresourcetypeenum",NULL )
  347. , SchemaEntry("ifcsurfacefeaturetypeenum",NULL )
  348. , SchemaEntry("ifcsurfaceside",NULL )
  349. , SchemaEntry("ifcswitchingdevicetypeenum",NULL )
  350. , SchemaEntry("ifcsystemfurnitureelementtypeenum",NULL )
  351. , SchemaEntry("ifctanktypeenum",NULL )
  352. , SchemaEntry("ifctaskdurationenum",NULL )
  353. , SchemaEntry("ifctasktypeenum",NULL )
  354. , SchemaEntry("ifctendonanchortypeenum",NULL )
  355. , SchemaEntry("ifctendontypeenum",NULL )
  356. , SchemaEntry("ifctextpath",NULL )
  357. , SchemaEntry("ifctimeseriesdatatypeenum",NULL )
  358. , SchemaEntry("ifctransformertypeenum",NULL )
  359. , SchemaEntry("ifctransitioncode",NULL )
  360. , SchemaEntry("ifctransportelementtypeenum",NULL )
  361. , SchemaEntry("ifctrimmingpreference",NULL )
  362. , SchemaEntry("ifctubebundletypeenum",NULL )
  363. , SchemaEntry("ifcunitenum",NULL )
  364. , SchemaEntry("ifcunitarycontrolelementtypeenum",NULL )
  365. , SchemaEntry("ifcunitaryequipmenttypeenum",NULL )
  366. , SchemaEntry("ifcvalvetypeenum",NULL )
  367. , SchemaEntry("ifcvibrationisolatortypeenum",NULL )
  368. , SchemaEntry("ifcvoidingfeaturetypeenum",NULL )
  369. , SchemaEntry("ifcwalltypeenum",NULL )
  370. , SchemaEntry("ifcwasteterminaltypeenum",NULL )
  371. , SchemaEntry("ifcwindowpaneloperationenum",NULL )
  372. , SchemaEntry("ifcwindowpanelpositionenum",NULL )
  373. , SchemaEntry("ifcwindowstyleconstructionenum",NULL )
  374. , SchemaEntry("ifcwindowstyleoperationenum",NULL )
  375. , SchemaEntry("ifcwindowtypeenum",NULL )
  376. , SchemaEntry("ifcwindowtypepartitioningenum",NULL )
  377. , SchemaEntry("ifcworkcalendartypeenum",NULL )
  378. , SchemaEntry("ifcworkplantypeenum",NULL )
  379. , SchemaEntry("ifcworkscheduletypeenum",NULL )
  380. , SchemaEntry("ifcactorselect",NULL )
  381. , SchemaEntry("ifcappliedvalueselect",NULL )
  382. , SchemaEntry("ifcaxis2placement",NULL )
  383. , SchemaEntry("ifcbendingparameterselect",NULL )
  384. , SchemaEntry("ifcbooleanoperand",NULL )
  385. , SchemaEntry("ifcclassificationreferenceselect",NULL )
  386. , SchemaEntry("ifcclassificationselect",NULL )
  387. , SchemaEntry("ifccolour",NULL )
  388. , SchemaEntry("ifccolourorfactor",NULL )
  389. , SchemaEntry("ifccoordinatereferencesystemselect",NULL )
  390. , SchemaEntry("ifccsgselect",NULL )
  391. , SchemaEntry("ifccurvefontorscaledcurvefontselect",NULL )
  392. , SchemaEntry("ifccurveonsurface",NULL )
  393. , SchemaEntry("ifccurveoredgecurve",NULL )
  394. , SchemaEntry("ifccurvestylefontselect",NULL )
  395. , SchemaEntry("ifcdefinitionselect",NULL )
  396. , SchemaEntry("ifcderivedmeasurevalue",NULL )
  397. , SchemaEntry("ifcdocumentselect",NULL )
  398. , SchemaEntry("ifcfillstyleselect",NULL )
  399. , SchemaEntry("ifcgeometricsetselect",NULL )
  400. , SchemaEntry("ifcgridplacementdirectionselect",NULL )
  401. , SchemaEntry("ifchatchlinedistanceselect",NULL )
  402. , SchemaEntry("ifclayereditem",NULL )
  403. , SchemaEntry("ifclibraryselect",NULL )
  404. , SchemaEntry("ifclightdistributiondatasourceselect",NULL )
  405. , SchemaEntry("ifcmaterialselect",NULL )
  406. , SchemaEntry("ifcmeasurevalue",NULL )
  407. , SchemaEntry("ifcmetricvalueselect",NULL )
  408. , SchemaEntry("ifcmodulusofrotationalsubgradereactionselect",NULL )
  409. , SchemaEntry("ifcmodulusofsubgradereactionselect",NULL )
  410. , SchemaEntry("ifcmodulusoftranslationalsubgradereactionselect",NULL )
  411. , SchemaEntry("ifcobjectreferenceselect",NULL )
  412. , SchemaEntry("ifcpointorvertexpoint",NULL )
  413. , SchemaEntry("ifcpresentationstyleselect",NULL )
  414. , SchemaEntry("ifcprocessselect",NULL )
  415. , SchemaEntry("ifcproductrepresentationselect",NULL )
  416. , SchemaEntry("ifcproductselect",NULL )
  417. , SchemaEntry("ifcpropertysetdefinitionselect",NULL )
  418. , SchemaEntry("ifcresourceobjectselect",NULL )
  419. , SchemaEntry("ifcresourceselect",NULL )
  420. , SchemaEntry("ifcrotationalstiffnessselect",NULL )
  421. , SchemaEntry("ifcsegmentindexselect",NULL )
  422. , SchemaEntry("ifcshell",NULL )
  423. , SchemaEntry("ifcsimplevalue",NULL )
  424. , SchemaEntry("ifcsizeselect",NULL )
  425. , SchemaEntry("ifcsolidorshell",NULL )
  426. , SchemaEntry("ifcspaceboundaryselect",NULL )
  427. , SchemaEntry("ifcspecularhighlightselect",NULL )
  428. , SchemaEntry("ifcstructuralactivityassignmentselect",NULL )
  429. , SchemaEntry("ifcstyleassignmentselect",NULL )
  430. , SchemaEntry("ifcsurfaceorfacesurface",NULL )
  431. , SchemaEntry("ifcsurfacestyleelementselect",NULL )
  432. , SchemaEntry("ifctextfontselect",NULL )
  433. , SchemaEntry("ifctimeorratioselect",NULL )
  434. , SchemaEntry("ifctranslationalstiffnessselect",NULL )
  435. , SchemaEntry("ifctrimmingselect",NULL )
  436. , SchemaEntry("ifcunit",NULL )
  437. , SchemaEntry("ifcvalue",NULL )
  438. , SchemaEntry("ifcvectorordirection",NULL )
  439. , SchemaEntry("ifcwarpingstiffnessselect",NULL )
  440. , SchemaEntry("ifcroot",&STEP::ObjectHelper<IfcRoot,4>::Construct )
  441. , SchemaEntry("ifcobjectdefinition",&STEP::ObjectHelper<IfcObjectDefinition,0>::Construct )
  442. , SchemaEntry("ifcobject",&STEP::ObjectHelper<IfcObject,1>::Construct )
  443. , SchemaEntry("ifccontrol",&STEP::ObjectHelper<IfcControl,1>::Construct )
  444. , SchemaEntry("ifcactionrequest",&STEP::ObjectHelper<IfcActionRequest,3>::Construct )
  445. , SchemaEntry("ifcactor",&STEP::ObjectHelper<IfcActor,1>::Construct )
  446. , SchemaEntry("ifcactorrole",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  447. , SchemaEntry("ifcproduct",&STEP::ObjectHelper<IfcProduct,2>::Construct )
  448. , SchemaEntry("ifcelement",&STEP::ObjectHelper<IfcElement,1>::Construct )
  449. , SchemaEntry("ifcdistributionelement",&STEP::ObjectHelper<IfcDistributionElement,0>::Construct )
  450. , SchemaEntry("ifcdistributioncontrolelement",&STEP::ObjectHelper<IfcDistributionControlElement,0>::Construct )
  451. , SchemaEntry("ifcactuator",&STEP::ObjectHelper<IfcActuator,1>::Construct )
  452. , SchemaEntry("ifctypeobject",&STEP::ObjectHelper<IfcTypeObject,2>::Construct )
  453. , SchemaEntry("ifctypeproduct",&STEP::ObjectHelper<IfcTypeProduct,2>::Construct )
  454. , SchemaEntry("ifcelementtype",&STEP::ObjectHelper<IfcElementType,1>::Construct )
  455. , SchemaEntry("ifcdistributionelementtype",&STEP::ObjectHelper<IfcDistributionElementType,0>::Construct )
  456. , SchemaEntry("ifcdistributioncontrolelementtype",&STEP::ObjectHelper<IfcDistributionControlElementType,0>::Construct )
  457. , SchemaEntry("ifcactuatortype",&STEP::ObjectHelper<IfcActuatorType,1>::Construct )
  458. , SchemaEntry("ifcaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  459. , SchemaEntry("ifcrepresentationitem",&STEP::ObjectHelper<IfcRepresentationItem,0>::Construct )
  460. , SchemaEntry("ifcgeometricrepresentationitem",&STEP::ObjectHelper<IfcGeometricRepresentationItem,0>::Construct )
  461. , SchemaEntry("ifcsolidmodel",&STEP::ObjectHelper<IfcSolidModel,0>::Construct )
  462. , SchemaEntry("ifcmanifoldsolidbrep",&STEP::ObjectHelper<IfcManifoldSolidBrep,1>::Construct )
  463. , SchemaEntry("ifcadvancedbrep",&STEP::ObjectHelper<IfcAdvancedBrep,0>::Construct )
  464. , SchemaEntry("ifcadvancedbrepwithvoids",&STEP::ObjectHelper<IfcAdvancedBrepWithVoids,1>::Construct )
  465. , SchemaEntry("ifctopologicalrepresentationitem",&STEP::ObjectHelper<IfcTopologicalRepresentationItem,0>::Construct )
  466. , SchemaEntry("ifcface",&STEP::ObjectHelper<IfcFace,1>::Construct )
  467. , SchemaEntry("ifcfacesurface",&STEP::ObjectHelper<IfcFaceSurface,2>::Construct )
  468. , SchemaEntry("ifcadvancedface",&STEP::ObjectHelper<IfcAdvancedFace,0>::Construct )
  469. , SchemaEntry("ifcdistributionflowelement",&STEP::ObjectHelper<IfcDistributionFlowElement,0>::Construct )
  470. , SchemaEntry("ifcflowterminal",&STEP::ObjectHelper<IfcFlowTerminal,0>::Construct )
  471. , SchemaEntry("ifcairterminal",&STEP::ObjectHelper<IfcAirTerminal,1>::Construct )
  472. , SchemaEntry("ifcflowcontroller",&STEP::ObjectHelper<IfcFlowController,0>::Construct )
  473. , SchemaEntry("ifcairterminalbox",&STEP::ObjectHelper<IfcAirTerminalBox,1>::Construct )
  474. , SchemaEntry("ifcdistributionflowelementtype",&STEP::ObjectHelper<IfcDistributionFlowElementType,0>::Construct )
  475. , SchemaEntry("ifcflowcontrollertype",&STEP::ObjectHelper<IfcFlowControllerType,0>::Construct )
  476. , SchemaEntry("ifcairterminalboxtype",&STEP::ObjectHelper<IfcAirTerminalBoxType,1>::Construct )
  477. , SchemaEntry("ifcflowterminaltype",&STEP::ObjectHelper<IfcFlowTerminalType,0>::Construct )
  478. , SchemaEntry("ifcairterminaltype",&STEP::ObjectHelper<IfcAirTerminalType,1>::Construct )
  479. , SchemaEntry("ifcenergyconversiondevice",&STEP::ObjectHelper<IfcEnergyConversionDevice,0>::Construct )
  480. , SchemaEntry("ifcairtoairheatrecovery",&STEP::ObjectHelper<IfcAirToAirHeatRecovery,1>::Construct )
  481. , SchemaEntry("ifcenergyconversiondevicetype",&STEP::ObjectHelper<IfcEnergyConversionDeviceType,0>::Construct )
  482. , SchemaEntry("ifcairtoairheatrecoverytype",&STEP::ObjectHelper<IfcAirToAirHeatRecoveryType,1>::Construct )
  483. , SchemaEntry("ifcalarm",&STEP::ObjectHelper<IfcAlarm,1>::Construct )
  484. , SchemaEntry("ifcalarmtype",&STEP::ObjectHelper<IfcAlarmType,1>::Construct )
  485. , SchemaEntry("ifcannotation",&STEP::ObjectHelper<IfcAnnotation,0>::Construct )
  486. , SchemaEntry("ifcannotationfillarea",&STEP::ObjectHelper<IfcAnnotationFillArea,2>::Construct )
  487. , SchemaEntry("ifcapplication",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  488. , SchemaEntry("ifcappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  489. , SchemaEntry("ifcapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  490. , SchemaEntry("ifcresourcelevelrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  491. , SchemaEntry("ifcapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  492. , SchemaEntry("ifcprofiledef",&STEP::ObjectHelper<IfcProfileDef,2>::Construct )
  493. , SchemaEntry("ifcarbitraryclosedprofiledef",&STEP::ObjectHelper<IfcArbitraryClosedProfileDef,1>::Construct )
  494. , SchemaEntry("ifcarbitraryopenprofiledef",&STEP::ObjectHelper<IfcArbitraryOpenProfileDef,1>::Construct )
  495. , SchemaEntry("ifcarbitraryprofiledefwithvoids",&STEP::ObjectHelper<IfcArbitraryProfileDefWithVoids,1>::Construct )
  496. , SchemaEntry("ifcgroup",&STEP::ObjectHelper<IfcGroup,0>::Construct )
  497. , SchemaEntry("ifcasset",&STEP::ObjectHelper<IfcAsset,9>::Construct )
  498. , SchemaEntry("ifcparameterizedprofiledef",&STEP::ObjectHelper<IfcParameterizedProfileDef,1>::Construct )
  499. , SchemaEntry("ifcasymmetricishapeprofiledef",&STEP::ObjectHelper<IfcAsymmetricIShapeProfileDef,12>::Construct )
  500. , SchemaEntry("ifcaudiovisualappliance",&STEP::ObjectHelper<IfcAudioVisualAppliance,1>::Construct )
  501. , SchemaEntry("ifcaudiovisualappliancetype",&STEP::ObjectHelper<IfcAudioVisualApplianceType,1>::Construct )
  502. , SchemaEntry("ifcplacement",&STEP::ObjectHelper<IfcPlacement,1>::Construct )
  503. , SchemaEntry("ifcaxis1placement",&STEP::ObjectHelper<IfcAxis1Placement,1>::Construct )
  504. , SchemaEntry("ifcaxis2placement2d",&STEP::ObjectHelper<IfcAxis2Placement2D,1>::Construct )
  505. , SchemaEntry("ifcaxis2placement3d",&STEP::ObjectHelper<IfcAxis2Placement3D,2>::Construct )
  506. , SchemaEntry("ifccurve",&STEP::ObjectHelper<IfcCurve,0>::Construct )
  507. , SchemaEntry("ifcboundedcurve",&STEP::ObjectHelper<IfcBoundedCurve,0>::Construct )
  508. , SchemaEntry("ifcbsplinecurve",&STEP::ObjectHelper<IfcBSplineCurve,5>::Construct )
  509. , SchemaEntry("ifcbsplinecurvewithknots",&STEP::ObjectHelper<IfcBSplineCurveWithKnots,3>::Construct )
  510. , SchemaEntry("ifcsurface",&STEP::ObjectHelper<IfcSurface,0>::Construct )
  511. , SchemaEntry("ifcboundedsurface",&STEP::ObjectHelper<IfcBoundedSurface,0>::Construct )
  512. , SchemaEntry("ifcbsplinesurface",&STEP::ObjectHelper<IfcBSplineSurface,6>::Construct )
  513. , SchemaEntry("ifcbsplinesurfacewithknots",&STEP::ObjectHelper<IfcBSplineSurfaceWithKnots,5>::Construct )
  514. , SchemaEntry("ifcbuildingelement",&STEP::ObjectHelper<IfcBuildingElement,0>::Construct )
  515. , SchemaEntry("ifcbeam",&STEP::ObjectHelper<IfcBeam,1>::Construct )
  516. , SchemaEntry("ifcbeamstandardcase",&STEP::ObjectHelper<IfcBeamStandardCase,0>::Construct )
  517. , SchemaEntry("ifcbuildingelementtype",&STEP::ObjectHelper<IfcBuildingElementType,0>::Construct )
  518. , SchemaEntry("ifcbeamtype",&STEP::ObjectHelper<IfcBeamType,1>::Construct )
  519. , SchemaEntry("ifcpresentationitem",&STEP::ObjectHelper<IfcPresentationItem,0>::Construct )
  520. , SchemaEntry("ifcsurfacetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  521. , SchemaEntry("ifcblobtexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  522. , SchemaEntry("ifccsgprimitive3d",&STEP::ObjectHelper<IfcCsgPrimitive3D,1>::Construct )
  523. , SchemaEntry("ifcblock",&STEP::ObjectHelper<IfcBlock,3>::Construct )
  524. , SchemaEntry("ifcboiler",&STEP::ObjectHelper<IfcBoiler,1>::Construct )
  525. , SchemaEntry("ifcboilertype",&STEP::ObjectHelper<IfcBoilerType,1>::Construct )
  526. , SchemaEntry("ifcbooleanresult",&STEP::ObjectHelper<IfcBooleanResult,3>::Construct )
  527. , SchemaEntry("ifcbooleanclippingresult",&STEP::ObjectHelper<IfcBooleanClippingResult,0>::Construct )
  528. , SchemaEntry("ifcboundarycondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  529. , SchemaEntry("ifccompositecurve",&STEP::ObjectHelper<IfcCompositeCurve,2>::Construct )
  530. , SchemaEntry("ifccompositecurveonsurface",&STEP::ObjectHelper<IfcCompositeCurveOnSurface,0>::Construct )
  531. , SchemaEntry("ifcboundarycurve",&STEP::ObjectHelper<IfcBoundaryCurve,0>::Construct )
  532. , SchemaEntry("ifcboundaryedgecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  533. , SchemaEntry("ifcboundaryfacecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  534. , SchemaEntry("ifcboundarynodecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  535. , SchemaEntry("ifcboundarynodeconditionwarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  536. , SchemaEntry("ifcboundingbox",&STEP::ObjectHelper<IfcBoundingBox,4>::Construct )
  537. , SchemaEntry("ifchalfspacesolid",&STEP::ObjectHelper<IfcHalfSpaceSolid,2>::Construct )
  538. , SchemaEntry("ifcboxedhalfspace",&STEP::ObjectHelper<IfcBoxedHalfSpace,1>::Construct )
  539. , SchemaEntry("ifcspatialelement",&STEP::ObjectHelper<IfcSpatialElement,1>::Construct )
  540. , SchemaEntry("ifcspatialstructureelement",&STEP::ObjectHelper<IfcSpatialStructureElement,1>::Construct )
  541. , SchemaEntry("ifcbuilding",&STEP::ObjectHelper<IfcBuilding,3>::Construct )
  542. , SchemaEntry("ifcelementcomponent",&STEP::ObjectHelper<IfcElementComponent,0>::Construct )
  543. , SchemaEntry("ifcbuildingelementpart",&STEP::ObjectHelper<IfcBuildingElementPart,1>::Construct )
  544. , SchemaEntry("ifcelementcomponenttype",&STEP::ObjectHelper<IfcElementComponentType,0>::Construct )
  545. , SchemaEntry("ifcbuildingelementparttype",&STEP::ObjectHelper<IfcBuildingElementPartType,1>::Construct )
  546. , SchemaEntry("ifcbuildingelementproxy",&STEP::ObjectHelper<IfcBuildingElementProxy,1>::Construct )
  547. , SchemaEntry("ifcbuildingelementproxytype",&STEP::ObjectHelper<IfcBuildingElementProxyType,1>::Construct )
  548. , SchemaEntry("ifcbuildingstorey",&STEP::ObjectHelper<IfcBuildingStorey,1>::Construct )
  549. , SchemaEntry("ifcsystem",&STEP::ObjectHelper<IfcSystem,0>::Construct )
  550. , SchemaEntry("ifcbuildingsystem",&STEP::ObjectHelper<IfcBuildingSystem,2>::Construct )
  551. , SchemaEntry("ifcburner",&STEP::ObjectHelper<IfcBurner,1>::Construct )
  552. , SchemaEntry("ifcburnertype",&STEP::ObjectHelper<IfcBurnerType,1>::Construct )
  553. , SchemaEntry("ifccshapeprofiledef",&STEP::ObjectHelper<IfcCShapeProfileDef,5>::Construct )
  554. , SchemaEntry("ifcflowfitting",&STEP::ObjectHelper<IfcFlowFitting,0>::Construct )
  555. , SchemaEntry("ifccablecarrierfitting",&STEP::ObjectHelper<IfcCableCarrierFitting,1>::Construct )
  556. , SchemaEntry("ifcflowfittingtype",&STEP::ObjectHelper<IfcFlowFittingType,0>::Construct )
  557. , SchemaEntry("ifccablecarrierfittingtype",&STEP::ObjectHelper<IfcCableCarrierFittingType,1>::Construct )
  558. , SchemaEntry("ifcflowsegment",&STEP::ObjectHelper<IfcFlowSegment,0>::Construct )
  559. , SchemaEntry("ifccablecarriersegment",&STEP::ObjectHelper<IfcCableCarrierSegment,1>::Construct )
  560. , SchemaEntry("ifcflowsegmenttype",&STEP::ObjectHelper<IfcFlowSegmentType,0>::Construct )
  561. , SchemaEntry("ifccablecarriersegmenttype",&STEP::ObjectHelper<IfcCableCarrierSegmentType,1>::Construct )
  562. , SchemaEntry("ifccablefitting",&STEP::ObjectHelper<IfcCableFitting,1>::Construct )
  563. , SchemaEntry("ifccablefittingtype",&STEP::ObjectHelper<IfcCableFittingType,1>::Construct )
  564. , SchemaEntry("ifccablesegment",&STEP::ObjectHelper<IfcCableSegment,1>::Construct )
  565. , SchemaEntry("ifccablesegmenttype",&STEP::ObjectHelper<IfcCableSegmentType,1>::Construct )
  566. , SchemaEntry("ifcpoint",&STEP::ObjectHelper<IfcPoint,0>::Construct )
  567. , SchemaEntry("ifccartesianpoint",&STEP::ObjectHelper<IfcCartesianPoint,1>::Construct )
  568. , SchemaEntry("ifccartesianpointlist",&STEP::ObjectHelper<IfcCartesianPointList,0>::Construct )
  569. , SchemaEntry("ifccartesianpointlist2d",&STEP::ObjectHelper<IfcCartesianPointList2D,0>::Construct )
  570. , SchemaEntry("ifccartesianpointlist3d",&STEP::ObjectHelper<IfcCartesianPointList3D,0>::Construct )
  571. , SchemaEntry("ifccartesiantransformationoperator",&STEP::ObjectHelper<IfcCartesianTransformationOperator,4>::Construct )
  572. , SchemaEntry("ifccartesiantransformationoperator2d",&STEP::ObjectHelper<IfcCartesianTransformationOperator2D,0>::Construct )
  573. , SchemaEntry("ifccartesiantransformationoperator2dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator2DnonUniform,1>::Construct )
  574. , SchemaEntry("ifccartesiantransformationoperator3d",&STEP::ObjectHelper<IfcCartesianTransformationOperator3D,1>::Construct )
  575. , SchemaEntry("ifccartesiantransformationoperator3dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator3DnonUniform,2>::Construct )
  576. , SchemaEntry("ifccenterlineprofiledef",&STEP::ObjectHelper<IfcCenterLineProfileDef,1>::Construct )
  577. , SchemaEntry("ifcchiller",&STEP::ObjectHelper<IfcChiller,1>::Construct )
  578. , SchemaEntry("ifcchillertype",&STEP::ObjectHelper<IfcChillerType,1>::Construct )
  579. , SchemaEntry("ifcchimney",&STEP::ObjectHelper<IfcChimney,1>::Construct )
  580. , SchemaEntry("ifcchimneytype",&STEP::ObjectHelper<IfcChimneyType,1>::Construct )
  581. , SchemaEntry("ifcconic",&STEP::ObjectHelper<IfcConic,1>::Construct )
  582. , SchemaEntry("ifccircle",&STEP::ObjectHelper<IfcCircle,1>::Construct )
  583. , SchemaEntry("ifccircleprofiledef",&STEP::ObjectHelper<IfcCircleProfileDef,1>::Construct )
  584. , SchemaEntry("ifccirclehollowprofiledef",&STEP::ObjectHelper<IfcCircleHollowProfileDef,1>::Construct )
  585. , SchemaEntry("ifccivilelement",&STEP::ObjectHelper<IfcCivilElement,0>::Construct )
  586. , SchemaEntry("ifccivilelementtype",&STEP::ObjectHelper<IfcCivilElementType,0>::Construct )
  587. , SchemaEntry("ifcexternalinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  588. , SchemaEntry("ifcclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  589. , SchemaEntry("ifcexternalreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  590. , SchemaEntry("ifcclassificationreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  591. , SchemaEntry("ifcconnectedfaceset",&STEP::ObjectHelper<IfcConnectedFaceSet,1>::Construct )
  592. , SchemaEntry("ifcclosedshell",&STEP::ObjectHelper<IfcClosedShell,0>::Construct )
  593. , SchemaEntry("ifccoil",&STEP::ObjectHelper<IfcCoil,1>::Construct )
  594. , SchemaEntry("ifccoiltype",&STEP::ObjectHelper<IfcCoilType,1>::Construct )
  595. , SchemaEntry("ifccolourspecification",&STEP::ObjectHelper<IfcColourSpecification,1>::Construct )
  596. , SchemaEntry("ifccolourrgb",&STEP::ObjectHelper<IfcColourRgb,3>::Construct )
  597. , SchemaEntry("ifccolourrgblist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  598. , SchemaEntry("ifccolumn",&STEP::ObjectHelper<IfcColumn,1>::Construct )
  599. , SchemaEntry("ifccolumnstandardcase",&STEP::ObjectHelper<IfcColumnStandardCase,0>::Construct )
  600. , SchemaEntry("ifccolumntype",&STEP::ObjectHelper<IfcColumnType,1>::Construct )
  601. , SchemaEntry("ifccommunicationsappliance",&STEP::ObjectHelper<IfcCommunicationsAppliance,1>::Construct )
  602. , SchemaEntry("ifccommunicationsappliancetype",&STEP::ObjectHelper<IfcCommunicationsApplianceType,1>::Construct )
  603. , SchemaEntry("ifcpropertyabstraction",&STEP::ObjectHelper<IfcPropertyAbstraction,0>::Construct )
  604. , SchemaEntry("ifcproperty",&STEP::ObjectHelper<IfcProperty,2>::Construct )
  605. , SchemaEntry("ifccomplexproperty",&STEP::ObjectHelper<IfcComplexProperty,2>::Construct )
  606. , SchemaEntry("ifcpropertydefinition",&STEP::ObjectHelper<IfcPropertyDefinition,0>::Construct )
  607. , SchemaEntry("ifcpropertytemplatedefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  608. , SchemaEntry("ifcpropertytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  609. , SchemaEntry("ifccomplexpropertytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  610. , SchemaEntry("ifccompositecurvesegment",&STEP::ObjectHelper<IfcCompositeCurveSegment,3>::Construct )
  611. , SchemaEntry("ifccompositeprofiledef",&STEP::ObjectHelper<IfcCompositeProfileDef,2>::Construct )
  612. , SchemaEntry("ifcflowmovingdevice",&STEP::ObjectHelper<IfcFlowMovingDevice,0>::Construct )
  613. , SchemaEntry("ifccompressor",&STEP::ObjectHelper<IfcCompressor,1>::Construct )
  614. , SchemaEntry("ifcflowmovingdevicetype",&STEP::ObjectHelper<IfcFlowMovingDeviceType,0>::Construct )
  615. , SchemaEntry("ifccompressortype",&STEP::ObjectHelper<IfcCompressorType,1>::Construct )
  616. , SchemaEntry("ifccondenser",&STEP::ObjectHelper<IfcCondenser,1>::Construct )
  617. , SchemaEntry("ifccondensertype",&STEP::ObjectHelper<IfcCondenserType,1>::Construct )
  618. , SchemaEntry("ifcconnectiongeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  619. , SchemaEntry("ifcconnectioncurvegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  620. , SchemaEntry("ifcconnectionpointgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  621. , SchemaEntry("ifcconnectionpointeccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  622. , SchemaEntry("ifcconnectionsurfacegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  623. , SchemaEntry("ifcconnectionvolumegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  624. , SchemaEntry("ifcconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  625. , SchemaEntry("ifcresource",&STEP::ObjectHelper<IfcResource,2>::Construct )
  626. , SchemaEntry("ifcconstructionresource",&STEP::ObjectHelper<IfcConstructionResource,3>::Construct )
  627. , SchemaEntry("ifcconstructionequipmentresource",&STEP::ObjectHelper<IfcConstructionEquipmentResource,1>::Construct )
  628. , SchemaEntry("ifctyperesource",&STEP::ObjectHelper<IfcTypeResource,3>::Construct )
  629. , SchemaEntry("ifcconstructionresourcetype",&STEP::ObjectHelper<IfcConstructionResourceType,2>::Construct )
  630. , SchemaEntry("ifcconstructionequipmentresourcetype",&STEP::ObjectHelper<IfcConstructionEquipmentResourceType,1>::Construct )
  631. , SchemaEntry("ifcconstructionmaterialresource",&STEP::ObjectHelper<IfcConstructionMaterialResource,1>::Construct )
  632. , SchemaEntry("ifcconstructionmaterialresourcetype",&STEP::ObjectHelper<IfcConstructionMaterialResourceType,1>::Construct )
  633. , SchemaEntry("ifcconstructionproductresource",&STEP::ObjectHelper<IfcConstructionProductResource,1>::Construct )
  634. , SchemaEntry("ifcconstructionproductresourcetype",&STEP::ObjectHelper<IfcConstructionProductResourceType,1>::Construct )
  635. , SchemaEntry("ifccontext",&STEP::ObjectHelper<IfcContext,5>::Construct )
  636. , SchemaEntry("ifcnamedunit",&STEP::ObjectHelper<IfcNamedUnit,2>::Construct )
  637. , SchemaEntry("ifccontextdependentunit",&STEP::ObjectHelper<IfcContextDependentUnit,1>::Construct )
  638. , SchemaEntry("ifccontroller",&STEP::ObjectHelper<IfcController,1>::Construct )
  639. , SchemaEntry("ifccontrollertype",&STEP::ObjectHelper<IfcControllerType,1>::Construct )
  640. , SchemaEntry("ifcconversionbasedunit",&STEP::ObjectHelper<IfcConversionBasedUnit,2>::Construct )
  641. , SchemaEntry("ifcconversionbasedunitwithoffset",&STEP::ObjectHelper<IfcConversionBasedUnitWithOffset,1>::Construct )
  642. , SchemaEntry("ifccooledbeam",&STEP::ObjectHelper<IfcCooledBeam,1>::Construct )
  643. , SchemaEntry("ifccooledbeamtype",&STEP::ObjectHelper<IfcCooledBeamType,1>::Construct )
  644. , SchemaEntry("ifccoolingtower",&STEP::ObjectHelper<IfcCoolingTower,1>::Construct )
  645. , SchemaEntry("ifccoolingtowertype",&STEP::ObjectHelper<IfcCoolingTowerType,1>::Construct )
  646. , SchemaEntry("ifccoordinateoperation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  647. , SchemaEntry("ifccoordinatereferencesystem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  648. , SchemaEntry("ifccostitem",&STEP::ObjectHelper<IfcCostItem,3>::Construct )
  649. , SchemaEntry("ifccostschedule",&STEP::ObjectHelper<IfcCostSchedule,4>::Construct )
  650. , SchemaEntry("ifccostvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  651. , SchemaEntry("ifccovering",&STEP::ObjectHelper<IfcCovering,1>::Construct )
  652. , SchemaEntry("ifccoveringtype",&STEP::ObjectHelper<IfcCoveringType,1>::Construct )
  653. , SchemaEntry("ifccrewresource",&STEP::ObjectHelper<IfcCrewResource,1>::Construct )
  654. , SchemaEntry("ifccrewresourcetype",&STEP::ObjectHelper<IfcCrewResourceType,1>::Construct )
  655. , SchemaEntry("ifccsgsolid",&STEP::ObjectHelper<IfcCsgSolid,1>::Construct )
  656. , SchemaEntry("ifccurrencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  657. , SchemaEntry("ifccurtainwall",&STEP::ObjectHelper<IfcCurtainWall,1>::Construct )
  658. , SchemaEntry("ifccurtainwalltype",&STEP::ObjectHelper<IfcCurtainWallType,1>::Construct )
  659. , SchemaEntry("ifccurveboundedplane",&STEP::ObjectHelper<IfcCurveBoundedPlane,3>::Construct )
  660. , SchemaEntry("ifccurveboundedsurface",&STEP::ObjectHelper<IfcCurveBoundedSurface,3>::Construct )
  661. , SchemaEntry("ifcpresentationstyle",&STEP::ObjectHelper<IfcPresentationStyle,1>::Construct )
  662. , SchemaEntry("ifccurvestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  663. , SchemaEntry("ifccurvestylefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  664. , SchemaEntry("ifccurvestylefontandscaling",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  665. , SchemaEntry("ifccurvestylefontpattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  666. , SchemaEntry("ifcelementarysurface",&STEP::ObjectHelper<IfcElementarySurface,1>::Construct )
  667. , SchemaEntry("ifccylindricalsurface",&STEP::ObjectHelper<IfcCylindricalSurface,1>::Construct )
  668. , SchemaEntry("ifcdamper",&STEP::ObjectHelper<IfcDamper,1>::Construct )
  669. , SchemaEntry("ifcdampertype",&STEP::ObjectHelper<IfcDamperType,1>::Construct )
  670. , SchemaEntry("ifcderivedprofiledef",&STEP::ObjectHelper<IfcDerivedProfileDef,3>::Construct )
  671. , SchemaEntry("ifcderivedunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  672. , SchemaEntry("ifcderivedunitelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  673. , SchemaEntry("ifcdimensionalexponents",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  674. , SchemaEntry("ifcdirection",&STEP::ObjectHelper<IfcDirection,1>::Construct )
  675. , SchemaEntry("ifcdiscreteaccessory",&STEP::ObjectHelper<IfcDiscreteAccessory,1>::Construct )
  676. , SchemaEntry("ifcdiscreteaccessorytype",&STEP::ObjectHelper<IfcDiscreteAccessoryType,1>::Construct )
  677. , SchemaEntry("ifcdistributionchamberelement",&STEP::ObjectHelper<IfcDistributionChamberElement,1>::Construct )
  678. , SchemaEntry("ifcdistributionchamberelementtype",&STEP::ObjectHelper<IfcDistributionChamberElementType,1>::Construct )
  679. , SchemaEntry("ifcdistributionsystem",&STEP::ObjectHelper<IfcDistributionSystem,2>::Construct )
  680. , SchemaEntry("ifcdistributioncircuit",&STEP::ObjectHelper<IfcDistributionCircuit,0>::Construct )
  681. , SchemaEntry("ifcport",&STEP::ObjectHelper<IfcPort,0>::Construct )
  682. , SchemaEntry("ifcdistributionport",&STEP::ObjectHelper<IfcDistributionPort,3>::Construct )
  683. , SchemaEntry("ifcdocumentinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  684. , SchemaEntry("ifcdocumentinformationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  685. , SchemaEntry("ifcdocumentreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  686. , SchemaEntry("ifcdoor",&STEP::ObjectHelper<IfcDoor,5>::Construct )
  687. , SchemaEntry("ifcpropertysetdefinition",&STEP::ObjectHelper<IfcPropertySetDefinition,0>::Construct )
  688. , SchemaEntry("ifcpredefinedpropertyset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  689. , SchemaEntry("ifcdoorliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  690. , SchemaEntry("ifcdoorpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  691. , SchemaEntry("ifcdoorstandardcase",&STEP::ObjectHelper<IfcDoorStandardCase,0>::Construct )
  692. , SchemaEntry("ifcdoorstyle",&STEP::ObjectHelper<IfcDoorStyle,4>::Construct )
  693. , SchemaEntry("ifcdoortype",&STEP::ObjectHelper<IfcDoorType,4>::Construct )
  694. , SchemaEntry("ifcpredefineditem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  695. , SchemaEntry("ifcpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  696. , SchemaEntry("ifcdraughtingpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  697. , SchemaEntry("ifcpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  698. , SchemaEntry("ifcdraughtingpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  699. , SchemaEntry("ifcductfitting",&STEP::ObjectHelper<IfcDuctFitting,1>::Construct )
  700. , SchemaEntry("ifcductfittingtype",&STEP::ObjectHelper<IfcDuctFittingType,1>::Construct )
  701. , SchemaEntry("ifcductsegment",&STEP::ObjectHelper<IfcDuctSegment,1>::Construct )
  702. , SchemaEntry("ifcductsegmenttype",&STEP::ObjectHelper<IfcDuctSegmentType,1>::Construct )
  703. , SchemaEntry("ifcflowtreatmentdevice",&STEP::ObjectHelper<IfcFlowTreatmentDevice,0>::Construct )
  704. , SchemaEntry("ifcductsilencer",&STEP::ObjectHelper<IfcDuctSilencer,1>::Construct )
  705. , SchemaEntry("ifcflowtreatmentdevicetype",&STEP::ObjectHelper<IfcFlowTreatmentDeviceType,0>::Construct )
  706. , SchemaEntry("ifcductsilencertype",&STEP::ObjectHelper<IfcDuctSilencerType,1>::Construct )
  707. , SchemaEntry("ifcedge",&STEP::ObjectHelper<IfcEdge,2>::Construct )
  708. , SchemaEntry("ifcedgecurve",&STEP::ObjectHelper<IfcEdgeCurve,2>::Construct )
  709. , SchemaEntry("ifcloop",&STEP::ObjectHelper<IfcLoop,0>::Construct )
  710. , SchemaEntry("ifcedgeloop",&STEP::ObjectHelper<IfcEdgeLoop,1>::Construct )
  711. , SchemaEntry("ifcelectricappliance",&STEP::ObjectHelper<IfcElectricAppliance,1>::Construct )
  712. , SchemaEntry("ifcelectricappliancetype",&STEP::ObjectHelper<IfcElectricApplianceType,1>::Construct )
  713. , SchemaEntry("ifcelectricdistributionboard",&STEP::ObjectHelper<IfcElectricDistributionBoard,1>::Construct )
  714. , SchemaEntry("ifcelectricdistributionboardtype",&STEP::ObjectHelper<IfcElectricDistributionBoardType,1>::Construct )
  715. , SchemaEntry("ifcflowstoragedevice",&STEP::ObjectHelper<IfcFlowStorageDevice,0>::Construct )
  716. , SchemaEntry("ifcelectricflowstoragedevice",&STEP::ObjectHelper<IfcElectricFlowStorageDevice,1>::Construct )
  717. , SchemaEntry("ifcflowstoragedevicetype",&STEP::ObjectHelper<IfcFlowStorageDeviceType,0>::Construct )
  718. , SchemaEntry("ifcelectricflowstoragedevicetype",&STEP::ObjectHelper<IfcElectricFlowStorageDeviceType,1>::Construct )
  719. , SchemaEntry("ifcelectricgenerator",&STEP::ObjectHelper<IfcElectricGenerator,1>::Construct )
  720. , SchemaEntry("ifcelectricgeneratortype",&STEP::ObjectHelper<IfcElectricGeneratorType,1>::Construct )
  721. , SchemaEntry("ifcelectricmotor",&STEP::ObjectHelper<IfcElectricMotor,1>::Construct )
  722. , SchemaEntry("ifcelectricmotortype",&STEP::ObjectHelper<IfcElectricMotorType,1>::Construct )
  723. , SchemaEntry("ifcelectrictimecontrol",&STEP::ObjectHelper<IfcElectricTimeControl,1>::Construct )
  724. , SchemaEntry("ifcelectrictimecontroltype",&STEP::ObjectHelper<IfcElectricTimeControlType,1>::Construct )
  725. , SchemaEntry("ifcelementassembly",&STEP::ObjectHelper<IfcElementAssembly,2>::Construct )
  726. , SchemaEntry("ifcelementassemblytype",&STEP::ObjectHelper<IfcElementAssemblyType,1>::Construct )
  727. , SchemaEntry("ifcquantityset",&STEP::ObjectHelper<IfcQuantitySet,0>::Construct )
  728. , SchemaEntry("ifcelementquantity",&STEP::ObjectHelper<IfcElementQuantity,2>::Construct )
  729. , SchemaEntry("ifcellipse",&STEP::ObjectHelper<IfcEllipse,2>::Construct )
  730. , SchemaEntry("ifcellipseprofiledef",&STEP::ObjectHelper<IfcEllipseProfileDef,2>::Construct )
  731. , SchemaEntry("ifcengine",&STEP::ObjectHelper<IfcEngine,1>::Construct )
  732. , SchemaEntry("ifcenginetype",&STEP::ObjectHelper<IfcEngineType,1>::Construct )
  733. , SchemaEntry("ifcevaporativecooler",&STEP::ObjectHelper<IfcEvaporativeCooler,1>::Construct )
  734. , SchemaEntry("ifcevaporativecoolertype",&STEP::ObjectHelper<IfcEvaporativeCoolerType,1>::Construct )
  735. , SchemaEntry("ifcevaporator",&STEP::ObjectHelper<IfcEvaporator,1>::Construct )
  736. , SchemaEntry("ifcevaporatortype",&STEP::ObjectHelper<IfcEvaporatorType,1>::Construct )
  737. , SchemaEntry("ifcprocess",&STEP::ObjectHelper<IfcProcess,2>::Construct )
  738. , SchemaEntry("ifcevent",&STEP::ObjectHelper<IfcEvent,4>::Construct )
  739. , SchemaEntry("ifcschedulingtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  740. , SchemaEntry("ifceventtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  741. , SchemaEntry("ifctypeprocess",&STEP::ObjectHelper<IfcTypeProcess,3>::Construct )
  742. , SchemaEntry("ifceventtype",&STEP::ObjectHelper<IfcEventType,3>::Construct )
  743. , SchemaEntry("ifcextendedproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  744. , SchemaEntry("ifcexternalreferencerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  745. , SchemaEntry("ifcexternalspatialstructureelement",&STEP::ObjectHelper<IfcExternalSpatialStructureElement,0>::Construct )
  746. , SchemaEntry("ifcexternalspatialelement",&STEP::ObjectHelper<IfcExternalSpatialElement,1>::Construct )
  747. , SchemaEntry("ifcexternallydefinedhatchstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  748. , SchemaEntry("ifcexternallydefinedsurfacestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  749. , SchemaEntry("ifcexternallydefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  750. , SchemaEntry("ifcsweptareasolid",&STEP::ObjectHelper<IfcSweptAreaSolid,2>::Construct )
  751. , SchemaEntry("ifcextrudedareasolid",&STEP::ObjectHelper<IfcExtrudedAreaSolid,2>::Construct )
  752. , SchemaEntry("ifcextrudedareasolidtapered",&STEP::ObjectHelper<IfcExtrudedAreaSolidTapered,1>::Construct )
  753. , SchemaEntry("ifcfacebasedsurfacemodel",&STEP::ObjectHelper<IfcFaceBasedSurfaceModel,1>::Construct )
  754. , SchemaEntry("ifcfacebound",&STEP::ObjectHelper<IfcFaceBound,2>::Construct )
  755. , SchemaEntry("ifcfaceouterbound",&STEP::ObjectHelper<IfcFaceOuterBound,0>::Construct )
  756. , SchemaEntry("ifcfacetedbrep",&STEP::ObjectHelper<IfcFacetedBrep,0>::Construct )
  757. , SchemaEntry("ifcfacetedbrepwithvoids",&STEP::ObjectHelper<IfcFacetedBrepWithVoids,1>::Construct )
  758. , SchemaEntry("ifcstructuralconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  759. , SchemaEntry("ifcfailureconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  760. , SchemaEntry("ifcfan",&STEP::ObjectHelper<IfcFan,1>::Construct )
  761. , SchemaEntry("ifcfantype",&STEP::ObjectHelper<IfcFanType,1>::Construct )
  762. , SchemaEntry("ifcfastener",&STEP::ObjectHelper<IfcFastener,1>::Construct )
  763. , SchemaEntry("ifcfastenertype",&STEP::ObjectHelper<IfcFastenerType,1>::Construct )
  764. , SchemaEntry("ifcfeatureelement",&STEP::ObjectHelper<IfcFeatureElement,0>::Construct )
  765. , SchemaEntry("ifcfeatureelementaddition",&STEP::ObjectHelper<IfcFeatureElementAddition,0>::Construct )
  766. , SchemaEntry("ifcfeatureelementsubtraction",&STEP::ObjectHelper<IfcFeatureElementSubtraction,0>::Construct )
  767. , SchemaEntry("ifcfillareastyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  768. , SchemaEntry("ifcfillareastylehatching",&STEP::ObjectHelper<IfcFillAreaStyleHatching,5>::Construct )
  769. , SchemaEntry("ifcfillareastyletiles",&STEP::ObjectHelper<IfcFillAreaStyleTiles,3>::Construct )
  770. , SchemaEntry("ifcfilter",&STEP::ObjectHelper<IfcFilter,1>::Construct )
  771. , SchemaEntry("ifcfiltertype",&STEP::ObjectHelper<IfcFilterType,1>::Construct )
  772. , SchemaEntry("ifcfiresuppressionterminal",&STEP::ObjectHelper<IfcFireSuppressionTerminal,1>::Construct )
  773. , SchemaEntry("ifcfiresuppressionterminaltype",&STEP::ObjectHelper<IfcFireSuppressionTerminalType,1>::Construct )
  774. , SchemaEntry("ifcfixedreferencesweptareasolid",&STEP::ObjectHelper<IfcFixedReferenceSweptAreaSolid,4>::Construct )
  775. , SchemaEntry("ifcflowinstrument",&STEP::ObjectHelper<IfcFlowInstrument,1>::Construct )
  776. , SchemaEntry("ifcflowinstrumenttype",&STEP::ObjectHelper<IfcFlowInstrumentType,1>::Construct )
  777. , SchemaEntry("ifcflowmeter",&STEP::ObjectHelper<IfcFlowMeter,1>::Construct )
  778. , SchemaEntry("ifcflowmetertype",&STEP::ObjectHelper<IfcFlowMeterType,1>::Construct )
  779. , SchemaEntry("ifcfooting",&STEP::ObjectHelper<IfcFooting,1>::Construct )
  780. , SchemaEntry("ifcfootingtype",&STEP::ObjectHelper<IfcFootingType,1>::Construct )
  781. , SchemaEntry("ifcfurnishingelement",&STEP::ObjectHelper<IfcFurnishingElement,0>::Construct )
  782. , SchemaEntry("ifcfurnishingelementtype",&STEP::ObjectHelper<IfcFurnishingElementType,0>::Construct )
  783. , SchemaEntry("ifcfurniture",&STEP::ObjectHelper<IfcFurniture,1>::Construct )
  784. , SchemaEntry("ifcfurnituretype",&STEP::ObjectHelper<IfcFurnitureType,2>::Construct )
  785. , SchemaEntry("ifcgeographicelement",&STEP::ObjectHelper<IfcGeographicElement,1>::Construct )
  786. , SchemaEntry("ifcgeographicelementtype",&STEP::ObjectHelper<IfcGeographicElementType,1>::Construct )
  787. , SchemaEntry("ifcgeometricset",&STEP::ObjectHelper<IfcGeometricSet,1>::Construct )
  788. , SchemaEntry("ifcgeometriccurveset",&STEP::ObjectHelper<IfcGeometricCurveSet,0>::Construct )
  789. , SchemaEntry("ifcrepresentationcontext",&STEP::ObjectHelper<IfcRepresentationContext,2>::Construct )
  790. , SchemaEntry("ifcgeometricrepresentationcontext",&STEP::ObjectHelper<IfcGeometricRepresentationContext,4>::Construct )
  791. , SchemaEntry("ifcgeometricrepresentationsubcontext",&STEP::ObjectHelper<IfcGeometricRepresentationSubContext,4>::Construct )
  792. , SchemaEntry("ifcgrid",&STEP::ObjectHelper<IfcGrid,4>::Construct )
  793. , SchemaEntry("ifcgridaxis",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  794. , SchemaEntry("ifcobjectplacement",&STEP::ObjectHelper<IfcObjectPlacement,0>::Construct )
  795. , SchemaEntry("ifcgridplacement",&STEP::ObjectHelper<IfcGridPlacement,2>::Construct )
  796. , SchemaEntry("ifcheatexchanger",&STEP::ObjectHelper<IfcHeatExchanger,1>::Construct )
  797. , SchemaEntry("ifcheatexchangertype",&STEP::ObjectHelper<IfcHeatExchangerType,1>::Construct )
  798. , SchemaEntry("ifchumidifier",&STEP::ObjectHelper<IfcHumidifier,1>::Construct )
  799. , SchemaEntry("ifchumidifiertype",&STEP::ObjectHelper<IfcHumidifierType,1>::Construct )
  800. , SchemaEntry("ifcishapeprofiledef",&STEP::ObjectHelper<IfcIShapeProfileDef,7>::Construct )
  801. , SchemaEntry("ifcimagetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  802. , SchemaEntry("ifcindexedcolourmap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  803. , SchemaEntry("ifcindexedpolycurve",&STEP::ObjectHelper<IfcIndexedPolyCurve,3>::Construct )
  804. , SchemaEntry("ifctessellateditem",&STEP::ObjectHelper<IfcTessellatedItem,0>::Construct )
  805. , SchemaEntry("ifcindexedpolygonalface",&STEP::ObjectHelper<IfcIndexedPolygonalFace,1>::Construct )
  806. , SchemaEntry("ifcindexedpolygonalfacewithvoids",&STEP::ObjectHelper<IfcIndexedPolygonalFaceWithVoids,0>::Construct )
  807. , SchemaEntry("ifctexturecoordinate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  808. , SchemaEntry("ifcindexedtexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  809. , SchemaEntry("ifcindexedtriangletexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  810. , SchemaEntry("ifcinterceptor",&STEP::ObjectHelper<IfcInterceptor,1>::Construct )
  811. , SchemaEntry("ifcinterceptortype",&STEP::ObjectHelper<IfcInterceptorType,1>::Construct )
  812. , SchemaEntry("ifcsurfacecurve",&STEP::ObjectHelper<IfcSurfaceCurve,3>::Construct )
  813. , SchemaEntry("ifcintersectioncurve",&STEP::ObjectHelper<IfcIntersectionCurve,0>::Construct )
  814. , SchemaEntry("ifcinventory",&STEP::ObjectHelper<IfcInventory,6>::Construct )
  815. , SchemaEntry("ifctimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  816. , SchemaEntry("ifcirregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  817. , SchemaEntry("ifcirregulartimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  818. , SchemaEntry("ifcjunctionbox",&STEP::ObjectHelper<IfcJunctionBox,1>::Construct )
  819. , SchemaEntry("ifcjunctionboxtype",&STEP::ObjectHelper<IfcJunctionBoxType,1>::Construct )
  820. , SchemaEntry("ifclshapeprofiledef",&STEP::ObjectHelper<IfcLShapeProfileDef,6>::Construct )
  821. , SchemaEntry("ifclaborresource",&STEP::ObjectHelper<IfcLaborResource,1>::Construct )
  822. , SchemaEntry("ifclaborresourcetype",&STEP::ObjectHelper<IfcLaborResourceType,1>::Construct )
  823. , SchemaEntry("ifclagtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  824. , SchemaEntry("ifclamp",&STEP::ObjectHelper<IfcLamp,1>::Construct )
  825. , SchemaEntry("ifclamptype",&STEP::ObjectHelper<IfcLampType,1>::Construct )
  826. , SchemaEntry("ifclibraryinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  827. , SchemaEntry("ifclibraryreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  828. , SchemaEntry("ifclightdistributiondata",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  829. , SchemaEntry("ifclightfixture",&STEP::ObjectHelper<IfcLightFixture,1>::Construct )
  830. , SchemaEntry("ifclightfixturetype",&STEP::ObjectHelper<IfcLightFixtureType,1>::Construct )
  831. , SchemaEntry("ifclightintensitydistribution",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  832. , SchemaEntry("ifclightsource",&STEP::ObjectHelper<IfcLightSource,4>::Construct )
  833. , SchemaEntry("ifclightsourceambient",&STEP::ObjectHelper<IfcLightSourceAmbient,0>::Construct )
  834. , SchemaEntry("ifclightsourcedirectional",&STEP::ObjectHelper<IfcLightSourceDirectional,1>::Construct )
  835. , SchemaEntry("ifclightsourcegoniometric",&STEP::ObjectHelper<IfcLightSourceGoniometric,6>::Construct )
  836. , SchemaEntry("ifclightsourcepositional",&STEP::ObjectHelper<IfcLightSourcePositional,5>::Construct )
  837. , SchemaEntry("ifclightsourcespot",&STEP::ObjectHelper<IfcLightSourceSpot,4>::Construct )
  838. , SchemaEntry("ifcline",&STEP::ObjectHelper<IfcLine,2>::Construct )
  839. , SchemaEntry("ifclocalplacement",&STEP::ObjectHelper<IfcLocalPlacement,2>::Construct )
  840. , SchemaEntry("ifcmapconversion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  841. , SchemaEntry("ifcmappeditem",&STEP::ObjectHelper<IfcMappedItem,2>::Construct )
  842. , SchemaEntry("ifcmaterialdefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  843. , SchemaEntry("ifcmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  844. , SchemaEntry("ifcmaterialclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  845. , SchemaEntry("ifcmaterialconstituent",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  846. , SchemaEntry("ifcmaterialconstituentset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  847. , SchemaEntry("ifcproductrepresentation",&STEP::ObjectHelper<IfcProductRepresentation,3>::Construct )
  848. , SchemaEntry("ifcmaterialdefinitionrepresentation",&STEP::ObjectHelper<IfcMaterialDefinitionRepresentation,1>::Construct )
  849. , SchemaEntry("ifcmateriallayer",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  850. , SchemaEntry("ifcmateriallayerset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  851. , SchemaEntry("ifcmaterialusagedefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  852. , SchemaEntry("ifcmateriallayersetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  853. , SchemaEntry("ifcmateriallayerwithoffsets",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  854. , SchemaEntry("ifcmateriallist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  855. , SchemaEntry("ifcmaterialprofile",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  856. , SchemaEntry("ifcmaterialprofileset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  857. , SchemaEntry("ifcmaterialprofilesetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  858. , SchemaEntry("ifcmaterialprofilesetusagetapering",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  859. , SchemaEntry("ifcmaterialprofilewithoffsets",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  860. , SchemaEntry("ifcmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  861. , SchemaEntry("ifcmaterialrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  862. , SchemaEntry("ifcmeasurewithunit",&STEP::ObjectHelper<IfcMeasureWithUnit,2>::Construct )
  863. , SchemaEntry("ifcmechanicalfastener",&STEP::ObjectHelper<IfcMechanicalFastener,3>::Construct )
  864. , SchemaEntry("ifcmechanicalfastenertype",&STEP::ObjectHelper<IfcMechanicalFastenerType,3>::Construct )
  865. , SchemaEntry("ifcmedicaldevice",&STEP::ObjectHelper<IfcMedicalDevice,1>::Construct )
  866. , SchemaEntry("ifcmedicaldevicetype",&STEP::ObjectHelper<IfcMedicalDeviceType,1>::Construct )
  867. , SchemaEntry("ifcmember",&STEP::ObjectHelper<IfcMember,1>::Construct )
  868. , SchemaEntry("ifcmemberstandardcase",&STEP::ObjectHelper<IfcMemberStandardCase,0>::Construct )
  869. , SchemaEntry("ifcmembertype",&STEP::ObjectHelper<IfcMemberType,1>::Construct )
  870. , SchemaEntry("ifcmetric",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  871. , SchemaEntry("ifcmirroredprofiledef",&STEP::ObjectHelper<IfcMirroredProfileDef,0>::Construct )
  872. , SchemaEntry("ifcmonetaryunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  873. , SchemaEntry("ifcmotorconnection",&STEP::ObjectHelper<IfcMotorConnection,1>::Construct )
  874. , SchemaEntry("ifcmotorconnectiontype",&STEP::ObjectHelper<IfcMotorConnectionType,1>::Construct )
  875. , SchemaEntry("ifcobjective",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  876. , SchemaEntry("ifcoccupant",&STEP::ObjectHelper<IfcOccupant,1>::Construct )
  877. , SchemaEntry("ifcoffsetcurve2d",&STEP::ObjectHelper<IfcOffsetCurve2D,3>::Construct )
  878. , SchemaEntry("ifcoffsetcurve3d",&STEP::ObjectHelper<IfcOffsetCurve3D,4>::Construct )
  879. , SchemaEntry("ifcopenshell",&STEP::ObjectHelper<IfcOpenShell,0>::Construct )
  880. , SchemaEntry("ifcopeningelement",&STEP::ObjectHelper<IfcOpeningElement,1>::Construct )
  881. , SchemaEntry("ifcopeningstandardcase",&STEP::ObjectHelper<IfcOpeningStandardCase,0>::Construct )
  882. , SchemaEntry("ifcorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  883. , SchemaEntry("ifcorganizationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  884. , SchemaEntry("ifcorientededge",&STEP::ObjectHelper<IfcOrientedEdge,2>::Construct )
  885. , SchemaEntry("ifcouterboundarycurve",&STEP::ObjectHelper<IfcOuterBoundaryCurve,0>::Construct )
  886. , SchemaEntry("ifcoutlet",&STEP::ObjectHelper<IfcOutlet,1>::Construct )
  887. , SchemaEntry("ifcoutlettype",&STEP::ObjectHelper<IfcOutletType,1>::Construct )
  888. , SchemaEntry("ifcownerhistory",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  889. , SchemaEntry("ifcpath",&STEP::ObjectHelper<IfcPath,1>::Construct )
  890. , SchemaEntry("ifcpcurve",&STEP::ObjectHelper<IfcPcurve,2>::Construct )
  891. , SchemaEntry("ifcperformancehistory",&STEP::ObjectHelper<IfcPerformanceHistory,2>::Construct )
  892. , SchemaEntry("ifcpermeablecoveringproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  893. , SchemaEntry("ifcpermit",&STEP::ObjectHelper<IfcPermit,3>::Construct )
  894. , SchemaEntry("ifcperson",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  895. , SchemaEntry("ifcpersonandorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  896. , SchemaEntry("ifcphysicalquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  897. , SchemaEntry("ifcphysicalcomplexquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  898. , SchemaEntry("ifcphysicalsimplequantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  899. , SchemaEntry("ifcpile",&STEP::ObjectHelper<IfcPile,2>::Construct )
  900. , SchemaEntry("ifcpiletype",&STEP::ObjectHelper<IfcPileType,1>::Construct )
  901. , SchemaEntry("ifcpipefitting",&STEP::ObjectHelper<IfcPipeFitting,1>::Construct )
  902. , SchemaEntry("ifcpipefittingtype",&STEP::ObjectHelper<IfcPipeFittingType,1>::Construct )
  903. , SchemaEntry("ifcpipesegment",&STEP::ObjectHelper<IfcPipeSegment,1>::Construct )
  904. , SchemaEntry("ifcpipesegmenttype",&STEP::ObjectHelper<IfcPipeSegmentType,1>::Construct )
  905. , SchemaEntry("ifcpixeltexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  906. , SchemaEntry("ifcplanarextent",&STEP::ObjectHelper<IfcPlanarExtent,2>::Construct )
  907. , SchemaEntry("ifcplanarbox",&STEP::ObjectHelper<IfcPlanarBox,1>::Construct )
  908. , SchemaEntry("ifcplane",&STEP::ObjectHelper<IfcPlane,0>::Construct )
  909. , SchemaEntry("ifcplate",&STEP::ObjectHelper<IfcPlate,1>::Construct )
  910. , SchemaEntry("ifcplatestandardcase",&STEP::ObjectHelper<IfcPlateStandardCase,0>::Construct )
  911. , SchemaEntry("ifcplatetype",&STEP::ObjectHelper<IfcPlateType,1>::Construct )
  912. , SchemaEntry("ifcpointoncurve",&STEP::ObjectHelper<IfcPointOnCurve,2>::Construct )
  913. , SchemaEntry("ifcpointonsurface",&STEP::ObjectHelper<IfcPointOnSurface,3>::Construct )
  914. , SchemaEntry("ifcpolyloop",&STEP::ObjectHelper<IfcPolyLoop,1>::Construct )
  915. , SchemaEntry("ifcpolygonalboundedhalfspace",&STEP::ObjectHelper<IfcPolygonalBoundedHalfSpace,2>::Construct )
  916. , SchemaEntry("ifctessellatedfaceset",&STEP::ObjectHelper<IfcTessellatedFaceSet,1>::Construct )
  917. , SchemaEntry("ifcpolygonalfaceset",&STEP::ObjectHelper<IfcPolygonalFaceSet,3>::Construct )
  918. , SchemaEntry("ifcpolyline",&STEP::ObjectHelper<IfcPolyline,1>::Construct )
  919. , SchemaEntry("ifcpostaladdress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  920. , SchemaEntry("ifcpredefinedproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  921. , SchemaEntry("ifcpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  922. , SchemaEntry("ifcpresentationlayerassignment",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  923. , SchemaEntry("ifcpresentationlayerwithstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  924. , SchemaEntry("ifcpresentationstyleassignment",&STEP::ObjectHelper<IfcPresentationStyleAssignment,1>::Construct )
  925. , SchemaEntry("ifcprocedure",&STEP::ObjectHelper<IfcProcedure,1>::Construct )
  926. , SchemaEntry("ifcproceduretype",&STEP::ObjectHelper<IfcProcedureType,1>::Construct )
  927. , SchemaEntry("ifcproductdefinitionshape",&STEP::ObjectHelper<IfcProductDefinitionShape,0>::Construct )
  928. , SchemaEntry("ifcprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  929. , SchemaEntry("ifcproject",&STEP::ObjectHelper<IfcProject,0>::Construct )
  930. , SchemaEntry("ifcprojectlibrary",&STEP::ObjectHelper<IfcProjectLibrary,0>::Construct )
  931. , SchemaEntry("ifcprojectorder",&STEP::ObjectHelper<IfcProjectOrder,3>::Construct )
  932. , SchemaEntry("ifcprojectedcrs",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  933. , SchemaEntry("ifcprojectionelement",&STEP::ObjectHelper<IfcProjectionElement,1>::Construct )
  934. , SchemaEntry("ifcsimpleproperty",&STEP::ObjectHelper<IfcSimpleProperty,0>::Construct )
  935. , SchemaEntry("ifcpropertyboundedvalue",&STEP::ObjectHelper<IfcPropertyBoundedValue,4>::Construct )
  936. , SchemaEntry("ifcpropertydependencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  937. , SchemaEntry("ifcpropertyenumeratedvalue",&STEP::ObjectHelper<IfcPropertyEnumeratedValue,2>::Construct )
  938. , SchemaEntry("ifcpropertyenumeration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  939. , SchemaEntry("ifcpropertylistvalue",&STEP::ObjectHelper<IfcPropertyListValue,2>::Construct )
  940. , SchemaEntry("ifcpropertyreferencevalue",&STEP::ObjectHelper<IfcPropertyReferenceValue,2>::Construct )
  941. , SchemaEntry("ifcpropertyset",&STEP::ObjectHelper<IfcPropertySet,1>::Construct )
  942. , SchemaEntry("ifcpropertysettemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  943. , SchemaEntry("ifcpropertysinglevalue",&STEP::ObjectHelper<IfcPropertySingleValue,2>::Construct )
  944. , SchemaEntry("ifcpropertytablevalue",&STEP::ObjectHelper<IfcPropertyTableValue,6>::Construct )
  945. , SchemaEntry("ifcprotectivedevice",&STEP::ObjectHelper<IfcProtectiveDevice,1>::Construct )
  946. , SchemaEntry("ifcprotectivedevicetrippingunit",&STEP::ObjectHelper<IfcProtectiveDeviceTrippingUnit,1>::Construct )
  947. , SchemaEntry("ifcprotectivedevicetrippingunittype",&STEP::ObjectHelper<IfcProtectiveDeviceTrippingUnitType,1>::Construct )
  948. , SchemaEntry("ifcprotectivedevicetype",&STEP::ObjectHelper<IfcProtectiveDeviceType,1>::Construct )
  949. , SchemaEntry("ifcproxy",&STEP::ObjectHelper<IfcProxy,2>::Construct )
  950. , SchemaEntry("ifcpump",&STEP::ObjectHelper<IfcPump,1>::Construct )
  951. , SchemaEntry("ifcpumptype",&STEP::ObjectHelper<IfcPumpType,1>::Construct )
  952. , SchemaEntry("ifcquantityarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  953. , SchemaEntry("ifcquantitycount",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  954. , SchemaEntry("ifcquantitylength",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  955. , SchemaEntry("ifcquantitytime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  956. , SchemaEntry("ifcquantityvolume",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  957. , SchemaEntry("ifcquantityweight",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  958. , SchemaEntry("ifcrailing",&STEP::ObjectHelper<IfcRailing,1>::Construct )
  959. , SchemaEntry("ifcrailingtype",&STEP::ObjectHelper<IfcRailingType,1>::Construct )
  960. , SchemaEntry("ifcramp",&STEP::ObjectHelper<IfcRamp,1>::Construct )
  961. , SchemaEntry("ifcrampflight",&STEP::ObjectHelper<IfcRampFlight,1>::Construct )
  962. , SchemaEntry("ifcrampflighttype",&STEP::ObjectHelper<IfcRampFlightType,1>::Construct )
  963. , SchemaEntry("ifcramptype",&STEP::ObjectHelper<IfcRampType,1>::Construct )
  964. , SchemaEntry("ifcrationalbsplinecurvewithknots",&STEP::ObjectHelper<IfcRationalBSplineCurveWithKnots,1>::Construct )
  965. , SchemaEntry("ifcrationalbsplinesurfacewithknots",&STEP::ObjectHelper<IfcRationalBSplineSurfaceWithKnots,0>::Construct )
  966. , SchemaEntry("ifcrectangleprofiledef",&STEP::ObjectHelper<IfcRectangleProfileDef,2>::Construct )
  967. , SchemaEntry("ifcrectanglehollowprofiledef",&STEP::ObjectHelper<IfcRectangleHollowProfileDef,3>::Construct )
  968. , SchemaEntry("ifcrectangularpyramid",&STEP::ObjectHelper<IfcRectangularPyramid,3>::Construct )
  969. , SchemaEntry("ifcrectangulartrimmedsurface",&STEP::ObjectHelper<IfcRectangularTrimmedSurface,7>::Construct )
  970. , SchemaEntry("ifcrecurrencepattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  971. , SchemaEntry("ifcreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  972. , SchemaEntry("ifcregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  973. , SchemaEntry("ifcreinforcementbarproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  974. , SchemaEntry("ifcreinforcementdefinitionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  975. , SchemaEntry("ifcreinforcingelement",&STEP::ObjectHelper<IfcReinforcingElement,1>::Construct )
  976. , SchemaEntry("ifcreinforcingbar",&STEP::ObjectHelper<IfcReinforcingBar,5>::Construct )
  977. , SchemaEntry("ifcreinforcingelementtype",&STEP::ObjectHelper<IfcReinforcingElementType,0>::Construct )
  978. , SchemaEntry("ifcreinforcingbartype",&STEP::ObjectHelper<IfcReinforcingBarType,7>::Construct )
  979. , SchemaEntry("ifcreinforcingmesh",&STEP::ObjectHelper<IfcReinforcingMesh,9>::Construct )
  980. , SchemaEntry("ifcreinforcingmeshtype",&STEP::ObjectHelper<IfcReinforcingMeshType,11>::Construct )
  981. , SchemaEntry("ifcrelationship",&STEP::ObjectHelper<IfcRelationship,0>::Construct )
  982. , SchemaEntry("ifcreldecomposes",&STEP::ObjectHelper<IfcRelDecomposes,0>::Construct )
  983. , SchemaEntry("ifcrelaggregates",&STEP::ObjectHelper<IfcRelAggregates,2>::Construct )
  984. , SchemaEntry("ifcrelassigns",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  985. , SchemaEntry("ifcrelassignstoactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  986. , SchemaEntry("ifcrelassignstocontrol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  987. , SchemaEntry("ifcrelassignstogroup",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  988. , SchemaEntry("ifcrelassignstogroupbyfactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  989. , SchemaEntry("ifcrelassignstoprocess",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  990. , SchemaEntry("ifcrelassignstoproduct",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  991. , SchemaEntry("ifcrelassignstoresource",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  992. , SchemaEntry("ifcrelassociates",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  993. , SchemaEntry("ifcrelassociatesapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  994. , SchemaEntry("ifcrelassociatesclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  995. , SchemaEntry("ifcrelassociatesconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  996. , SchemaEntry("ifcrelassociatesdocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  997. , SchemaEntry("ifcrelassociateslibrary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  998. , SchemaEntry("ifcrelassociatesmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  999. , SchemaEntry("ifcrelconnects",&STEP::ObjectHelper<IfcRelConnects,0>::Construct )
  1000. , SchemaEntry("ifcrelconnectselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1001. , SchemaEntry("ifcrelconnectspathelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1002. , SchemaEntry("ifcrelconnectsporttoelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1003. , SchemaEntry("ifcrelconnectsports",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1004. , SchemaEntry("ifcrelconnectsstructuralactivity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1005. , SchemaEntry("ifcrelconnectsstructuralmember",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1006. , SchemaEntry("ifcrelconnectswitheccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1007. , SchemaEntry("ifcrelconnectswithrealizingelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1008. , SchemaEntry("ifcrelcontainedinspatialstructure",&STEP::ObjectHelper<IfcRelContainedInSpatialStructure,2>::Construct )
  1009. , SchemaEntry("ifcrelcoversbldgelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1010. , SchemaEntry("ifcrelcoversspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1011. , SchemaEntry("ifcreldeclares",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1012. , SchemaEntry("ifcreldefines",&STEP::ObjectHelper<IfcRelDefines,0>::Construct )
  1013. , SchemaEntry("ifcreldefinesbyobject",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1014. , SchemaEntry("ifcreldefinesbyproperties",&STEP::ObjectHelper<IfcRelDefinesByProperties,2>::Construct )
  1015. , SchemaEntry("ifcreldefinesbytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1016. , SchemaEntry("ifcreldefinesbytype",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1017. , SchemaEntry("ifcrelfillselement",&STEP::ObjectHelper<IfcRelFillsElement,2>::Construct )
  1018. , SchemaEntry("ifcrelflowcontrolelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1019. , SchemaEntry("ifcrelinterfereselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1020. , SchemaEntry("ifcrelnests",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1021. , SchemaEntry("ifcrelprojectselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1022. , SchemaEntry("ifcrelreferencedinspatialstructure",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1023. , SchemaEntry("ifcrelsequence",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1024. , SchemaEntry("ifcrelservicesbuildings",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1025. , SchemaEntry("ifcrelspaceboundary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1026. , SchemaEntry("ifcrelspaceboundary1stlevel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1027. , SchemaEntry("ifcrelspaceboundary2ndlevel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1028. , SchemaEntry("ifcrelvoidselement",&STEP::ObjectHelper<IfcRelVoidsElement,2>::Construct )
  1029. , SchemaEntry("ifcreparametrisedcompositecurvesegment",&STEP::ObjectHelper<IfcReparametrisedCompositeCurveSegment,1>::Construct )
  1030. , SchemaEntry("ifcrepresentation",&STEP::ObjectHelper<IfcRepresentation,4>::Construct )
  1031. , SchemaEntry("ifcrepresentationmap",&STEP::ObjectHelper<IfcRepresentationMap,2>::Construct )
  1032. , SchemaEntry("ifcresourceapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1033. , SchemaEntry("ifcresourceconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1034. , SchemaEntry("ifcresourcetime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1035. , SchemaEntry("ifcrevolvedareasolid",&STEP::ObjectHelper<IfcRevolvedAreaSolid,2>::Construct )
  1036. , SchemaEntry("ifcrevolvedareasolidtapered",&STEP::ObjectHelper<IfcRevolvedAreaSolidTapered,1>::Construct )
  1037. , SchemaEntry("ifcrightcircularcone",&STEP::ObjectHelper<IfcRightCircularCone,2>::Construct )
  1038. , SchemaEntry("ifcrightcircularcylinder",&STEP::ObjectHelper<IfcRightCircularCylinder,2>::Construct )
  1039. , SchemaEntry("ifcroof",&STEP::ObjectHelper<IfcRoof,1>::Construct )
  1040. , SchemaEntry("ifcrooftype",&STEP::ObjectHelper<IfcRoofType,1>::Construct )
  1041. , SchemaEntry("ifcroundedrectangleprofiledef",&STEP::ObjectHelper<IfcRoundedRectangleProfileDef,1>::Construct )
  1042. , SchemaEntry("ifcsiunit",&STEP::ObjectHelper<IfcSIUnit,2>::Construct )
  1043. , SchemaEntry("ifcsanitaryterminal",&STEP::ObjectHelper<IfcSanitaryTerminal,1>::Construct )
  1044. , SchemaEntry("ifcsanitaryterminaltype",&STEP::ObjectHelper<IfcSanitaryTerminalType,1>::Construct )
  1045. , SchemaEntry("ifcseamcurve",&STEP::ObjectHelper<IfcSeamCurve,0>::Construct )
  1046. , SchemaEntry("ifcsectionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1047. , SchemaEntry("ifcsectionreinforcementproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1048. , SchemaEntry("ifcsectionedspine",&STEP::ObjectHelper<IfcSectionedSpine,3>::Construct )
  1049. , SchemaEntry("ifcsensor",&STEP::ObjectHelper<IfcSensor,1>::Construct )
  1050. , SchemaEntry("ifcsensortype",&STEP::ObjectHelper<IfcSensorType,1>::Construct )
  1051. , SchemaEntry("ifcshadingdevice",&STEP::ObjectHelper<IfcShadingDevice,1>::Construct )
  1052. , SchemaEntry("ifcshadingdevicetype",&STEP::ObjectHelper<IfcShadingDeviceType,1>::Construct )
  1053. , SchemaEntry("ifcshapeaspect",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1054. , SchemaEntry("ifcshapemodel",&STEP::ObjectHelper<IfcShapeModel,0>::Construct )
  1055. , SchemaEntry("ifcshaperepresentation",&STEP::ObjectHelper<IfcShapeRepresentation,0>::Construct )
  1056. , SchemaEntry("ifcshellbasedsurfacemodel",&STEP::ObjectHelper<IfcShellBasedSurfaceModel,1>::Construct )
  1057. , SchemaEntry("ifcsimplepropertytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1058. , SchemaEntry("ifcsite",&STEP::ObjectHelper<IfcSite,5>::Construct )
  1059. , SchemaEntry("ifcslab",&STEP::ObjectHelper<IfcSlab,1>::Construct )
  1060. , SchemaEntry("ifcslabelementedcase",&STEP::ObjectHelper<IfcSlabElementedCase,0>::Construct )
  1061. , SchemaEntry("ifcslabstandardcase",&STEP::ObjectHelper<IfcSlabStandardCase,0>::Construct )
  1062. , SchemaEntry("ifcslabtype",&STEP::ObjectHelper<IfcSlabType,1>::Construct )
  1063. , SchemaEntry("ifcslippageconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1064. , SchemaEntry("ifcsolardevice",&STEP::ObjectHelper<IfcSolarDevice,1>::Construct )
  1065. , SchemaEntry("ifcsolardevicetype",&STEP::ObjectHelper<IfcSolarDeviceType,1>::Construct )
  1066. , SchemaEntry("ifcspace",&STEP::ObjectHelper<IfcSpace,2>::Construct )
  1067. , SchemaEntry("ifcspaceheater",&STEP::ObjectHelper<IfcSpaceHeater,1>::Construct )
  1068. , SchemaEntry("ifcspaceheatertype",&STEP::ObjectHelper<IfcSpaceHeaterType,1>::Construct )
  1069. , SchemaEntry("ifcspatialelementtype",&STEP::ObjectHelper<IfcSpatialElementType,1>::Construct )
  1070. , SchemaEntry("ifcspatialstructureelementtype",&STEP::ObjectHelper<IfcSpatialStructureElementType,0>::Construct )
  1071. , SchemaEntry("ifcspacetype",&STEP::ObjectHelper<IfcSpaceType,2>::Construct )
  1072. , SchemaEntry("ifcspatialzone",&STEP::ObjectHelper<IfcSpatialZone,1>::Construct )
  1073. , SchemaEntry("ifcspatialzonetype",&STEP::ObjectHelper<IfcSpatialZoneType,2>::Construct )
  1074. , SchemaEntry("ifcsphere",&STEP::ObjectHelper<IfcSphere,1>::Construct )
  1075. , SchemaEntry("ifcsphericalsurface",&STEP::ObjectHelper<IfcSphericalSurface,1>::Construct )
  1076. , SchemaEntry("ifcstackterminal",&STEP::ObjectHelper<IfcStackTerminal,1>::Construct )
  1077. , SchemaEntry("ifcstackterminaltype",&STEP::ObjectHelper<IfcStackTerminalType,1>::Construct )
  1078. , SchemaEntry("ifcstair",&STEP::ObjectHelper<IfcStair,1>::Construct )
  1079. , SchemaEntry("ifcstairflight",&STEP::ObjectHelper<IfcStairFlight,5>::Construct )
  1080. , SchemaEntry("ifcstairflighttype",&STEP::ObjectHelper<IfcStairFlightType,1>::Construct )
  1081. , SchemaEntry("ifcstairtype",&STEP::ObjectHelper<IfcStairType,1>::Construct )
  1082. , SchemaEntry("ifcstructuralactivity",&STEP::ObjectHelper<IfcStructuralActivity,2>::Construct )
  1083. , SchemaEntry("ifcstructuralaction",&STEP::ObjectHelper<IfcStructuralAction,1>::Construct )
  1084. , SchemaEntry("ifcstructuralanalysismodel",&STEP::ObjectHelper<IfcStructuralAnalysisModel,5>::Construct )
  1085. , SchemaEntry("ifcstructuralitem",&STEP::ObjectHelper<IfcStructuralItem,0>::Construct )
  1086. , SchemaEntry("ifcstructuralconnection",&STEP::ObjectHelper<IfcStructuralConnection,1>::Construct )
  1087. , SchemaEntry("ifcstructuralcurveaction",&STEP::ObjectHelper<IfcStructuralCurveAction,2>::Construct )
  1088. , SchemaEntry("ifcstructuralcurveconnection",&STEP::ObjectHelper<IfcStructuralCurveConnection,1>::Construct )
  1089. , SchemaEntry("ifcstructuralmember",&STEP::ObjectHelper<IfcStructuralMember,0>::Construct )
  1090. , SchemaEntry("ifcstructuralcurvemember",&STEP::ObjectHelper<IfcStructuralCurveMember,2>::Construct )
  1091. , SchemaEntry("ifcstructuralcurvemembervarying",&STEP::ObjectHelper<IfcStructuralCurveMemberVarying,0>::Construct )
  1092. , SchemaEntry("ifcstructuralreaction",&STEP::ObjectHelper<IfcStructuralReaction,0>::Construct )
  1093. , SchemaEntry("ifcstructuralcurvereaction",&STEP::ObjectHelper<IfcStructuralCurveReaction,1>::Construct )
  1094. , SchemaEntry("ifcstructurallinearaction",&STEP::ObjectHelper<IfcStructuralLinearAction,0>::Construct )
  1095. , SchemaEntry("ifcstructuralload",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1096. , SchemaEntry("ifcstructuralloadgroup",&STEP::ObjectHelper<IfcStructuralLoadGroup,5>::Construct )
  1097. , SchemaEntry("ifcstructuralloadcase",&STEP::ObjectHelper<IfcStructuralLoadCase,1>::Construct )
  1098. , SchemaEntry("ifcstructuralloadconfiguration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1099. , SchemaEntry("ifcstructuralloadorresult",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1100. , SchemaEntry("ifcstructuralloadstatic",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1101. , SchemaEntry("ifcstructuralloadlinearforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1102. , SchemaEntry("ifcstructuralloadplanarforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1103. , SchemaEntry("ifcstructuralloadsingledisplacement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1104. , SchemaEntry("ifcstructuralloadsingledisplacementdistortion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1105. , SchemaEntry("ifcstructuralloadsingleforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1106. , SchemaEntry("ifcstructuralloadsingleforcewarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1107. , SchemaEntry("ifcstructuralloadtemperature",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1108. , SchemaEntry("ifcstructuralsurfaceaction",&STEP::ObjectHelper<IfcStructuralSurfaceAction,2>::Construct )
  1109. , SchemaEntry("ifcstructuralplanaraction",&STEP::ObjectHelper<IfcStructuralPlanarAction,0>::Construct )
  1110. , SchemaEntry("ifcstructuralpointaction",&STEP::ObjectHelper<IfcStructuralPointAction,0>::Construct )
  1111. , SchemaEntry("ifcstructuralpointconnection",&STEP::ObjectHelper<IfcStructuralPointConnection,1>::Construct )
  1112. , SchemaEntry("ifcstructuralpointreaction",&STEP::ObjectHelper<IfcStructuralPointReaction,0>::Construct )
  1113. , SchemaEntry("ifcstructuralresultgroup",&STEP::ObjectHelper<IfcStructuralResultGroup,3>::Construct )
  1114. , SchemaEntry("ifcstructuralsurfaceconnection",&STEP::ObjectHelper<IfcStructuralSurfaceConnection,0>::Construct )
  1115. , SchemaEntry("ifcstructuralsurfacemember",&STEP::ObjectHelper<IfcStructuralSurfaceMember,2>::Construct )
  1116. , SchemaEntry("ifcstructuralsurfacemembervarying",&STEP::ObjectHelper<IfcStructuralSurfaceMemberVarying,0>::Construct )
  1117. , SchemaEntry("ifcstructuralsurfacereaction",&STEP::ObjectHelper<IfcStructuralSurfaceReaction,1>::Construct )
  1118. , SchemaEntry("ifcstylemodel",&STEP::ObjectHelper<IfcStyleModel,0>::Construct )
  1119. , SchemaEntry("ifcstyleditem",&STEP::ObjectHelper<IfcStyledItem,3>::Construct )
  1120. , SchemaEntry("ifcstyledrepresentation",&STEP::ObjectHelper<IfcStyledRepresentation,0>::Construct )
  1121. , SchemaEntry("ifcsubcontractresource",&STEP::ObjectHelper<IfcSubContractResource,1>::Construct )
  1122. , SchemaEntry("ifcsubcontractresourcetype",&STEP::ObjectHelper<IfcSubContractResourceType,1>::Construct )
  1123. , SchemaEntry("ifcsubedge",&STEP::ObjectHelper<IfcSubedge,1>::Construct )
  1124. , SchemaEntry("ifcsurfacecurvesweptareasolid",&STEP::ObjectHelper<IfcSurfaceCurveSweptAreaSolid,4>::Construct )
  1125. , SchemaEntry("ifcsurfacefeature",&STEP::ObjectHelper<IfcSurfaceFeature,1>::Construct )
  1126. , SchemaEntry("ifcsweptsurface",&STEP::ObjectHelper<IfcSweptSurface,2>::Construct )
  1127. , SchemaEntry("ifcsurfaceoflinearextrusion",&STEP::ObjectHelper<IfcSurfaceOfLinearExtrusion,2>::Construct )
  1128. , SchemaEntry("ifcsurfaceofrevolution",&STEP::ObjectHelper<IfcSurfaceOfRevolution,1>::Construct )
  1129. , SchemaEntry("ifcsurfacereinforcementarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1130. , SchemaEntry("ifcsurfacestyle",&STEP::ObjectHelper<IfcSurfaceStyle,2>::Construct )
  1131. , SchemaEntry("ifcsurfacestylelighting",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1132. , SchemaEntry("ifcsurfacestylerefraction",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1133. , SchemaEntry("ifcsurfacestyleshading",&STEP::ObjectHelper<IfcSurfaceStyleShading,2>::Construct )
  1134. , SchemaEntry("ifcsurfacestylerendering",&STEP::ObjectHelper<IfcSurfaceStyleRendering,7>::Construct )
  1135. , SchemaEntry("ifcsurfacestylewithtextures",&STEP::ObjectHelper<IfcSurfaceStyleWithTextures,1>::Construct )
  1136. , SchemaEntry("ifcsweptdisksolid",&STEP::ObjectHelper<IfcSweptDiskSolid,5>::Construct )
  1137. , SchemaEntry("ifcsweptdisksolidpolygonal",&STEP::ObjectHelper<IfcSweptDiskSolidPolygonal,1>::Construct )
  1138. , SchemaEntry("ifcswitchingdevice",&STEP::ObjectHelper<IfcSwitchingDevice,1>::Construct )
  1139. , SchemaEntry("ifcswitchingdevicetype",&STEP::ObjectHelper<IfcSwitchingDeviceType,1>::Construct )
  1140. , SchemaEntry("ifcsystemfurnitureelement",&STEP::ObjectHelper<IfcSystemFurnitureElement,1>::Construct )
  1141. , SchemaEntry("ifcsystemfurnitureelementtype",&STEP::ObjectHelper<IfcSystemFurnitureElementType,1>::Construct )
  1142. , SchemaEntry("ifctshapeprofiledef",&STEP::ObjectHelper<IfcTShapeProfileDef,9>::Construct )
  1143. , SchemaEntry("ifctable",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1144. , SchemaEntry("ifctablecolumn",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1145. , SchemaEntry("ifctablerow",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1146. , SchemaEntry("ifctank",&STEP::ObjectHelper<IfcTank,1>::Construct )
  1147. , SchemaEntry("ifctanktype",&STEP::ObjectHelper<IfcTankType,1>::Construct )
  1148. , SchemaEntry("ifctask",&STEP::ObjectHelper<IfcTask,6>::Construct )
  1149. , SchemaEntry("ifctasktime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1150. , SchemaEntry("ifctasktimerecurring",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1151. , SchemaEntry("ifctasktype",&STEP::ObjectHelper<IfcTaskType,2>::Construct )
  1152. , SchemaEntry("ifctelecomaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1153. , SchemaEntry("ifctendon",&STEP::ObjectHelper<IfcTendon,8>::Construct )
  1154. , SchemaEntry("ifctendonanchor",&STEP::ObjectHelper<IfcTendonAnchor,1>::Construct )
  1155. , SchemaEntry("ifctendonanchortype",&STEP::ObjectHelper<IfcTendonAnchorType,1>::Construct )
  1156. , SchemaEntry("ifctendontype",&STEP::ObjectHelper<IfcTendonType,4>::Construct )
  1157. , SchemaEntry("ifctextliteral",&STEP::ObjectHelper<IfcTextLiteral,3>::Construct )
  1158. , SchemaEntry("ifctextliteralwithextent",&STEP::ObjectHelper<IfcTextLiteralWithExtent,2>::Construct )
  1159. , SchemaEntry("ifctextstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1160. , SchemaEntry("ifctextstylefontmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1161. , SchemaEntry("ifctextstylefordefinedfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1162. , SchemaEntry("ifctextstyletextmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1163. , SchemaEntry("ifctexturecoordinategenerator",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1164. , SchemaEntry("ifctexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1165. , SchemaEntry("ifctexturevertex",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1166. , SchemaEntry("ifctexturevertexlist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1167. , SchemaEntry("ifctimeperiod",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1168. , SchemaEntry("ifctimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1169. , SchemaEntry("ifctopologyrepresentation",&STEP::ObjectHelper<IfcTopologyRepresentation,0>::Construct )
  1170. , SchemaEntry("ifctoroidalsurface",&STEP::ObjectHelper<IfcToroidalSurface,2>::Construct )
  1171. , SchemaEntry("ifctransformer",&STEP::ObjectHelper<IfcTransformer,1>::Construct )
  1172. , SchemaEntry("ifctransformertype",&STEP::ObjectHelper<IfcTransformerType,1>::Construct )
  1173. , SchemaEntry("ifctransportelement",&STEP::ObjectHelper<IfcTransportElement,1>::Construct )
  1174. , SchemaEntry("ifctransportelementtype",&STEP::ObjectHelper<IfcTransportElementType,1>::Construct )
  1175. , SchemaEntry("ifctrapeziumprofiledef",&STEP::ObjectHelper<IfcTrapeziumProfileDef,4>::Construct )
  1176. , SchemaEntry("ifctriangulatedfaceset",&STEP::ObjectHelper<IfcTriangulatedFaceSet,2>::Construct )
  1177. , SchemaEntry("ifctrimmedcurve",&STEP::ObjectHelper<IfcTrimmedCurve,5>::Construct )
  1178. , SchemaEntry("ifctubebundle",&STEP::ObjectHelper<IfcTubeBundle,1>::Construct )
  1179. , SchemaEntry("ifctubebundletype",&STEP::ObjectHelper<IfcTubeBundleType,1>::Construct )
  1180. , SchemaEntry("ifcushapeprofiledef",&STEP::ObjectHelper<IfcUShapeProfileDef,7>::Construct )
  1181. , SchemaEntry("ifcunitassignment",&STEP::ObjectHelper<IfcUnitAssignment,1>::Construct )
  1182. , SchemaEntry("ifcunitarycontrolelement",&STEP::ObjectHelper<IfcUnitaryControlElement,1>::Construct )
  1183. , SchemaEntry("ifcunitarycontrolelementtype",&STEP::ObjectHelper<IfcUnitaryControlElementType,1>::Construct )
  1184. , SchemaEntry("ifcunitaryequipment",&STEP::ObjectHelper<IfcUnitaryEquipment,1>::Construct )
  1185. , SchemaEntry("ifcunitaryequipmenttype",&STEP::ObjectHelper<IfcUnitaryEquipmentType,1>::Construct )
  1186. , SchemaEntry("ifcvalve",&STEP::ObjectHelper<IfcValve,1>::Construct )
  1187. , SchemaEntry("ifcvalvetype",&STEP::ObjectHelper<IfcValveType,1>::Construct )
  1188. , SchemaEntry("ifcvector",&STEP::ObjectHelper<IfcVector,2>::Construct )
  1189. , SchemaEntry("ifcvertex",&STEP::ObjectHelper<IfcVertex,0>::Construct )
  1190. , SchemaEntry("ifcvertexloop",&STEP::ObjectHelper<IfcVertexLoop,1>::Construct )
  1191. , SchemaEntry("ifcvertexpoint",&STEP::ObjectHelper<IfcVertexPoint,1>::Construct )
  1192. , SchemaEntry("ifcvibrationisolator",&STEP::ObjectHelper<IfcVibrationIsolator,1>::Construct )
  1193. , SchemaEntry("ifcvibrationisolatortype",&STEP::ObjectHelper<IfcVibrationIsolatorType,1>::Construct )
  1194. , SchemaEntry("ifcvirtualelement",&STEP::ObjectHelper<IfcVirtualElement,0>::Construct )
  1195. , SchemaEntry("ifcvirtualgridintersection",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1196. , SchemaEntry("ifcvoidingfeature",&STEP::ObjectHelper<IfcVoidingFeature,1>::Construct )
  1197. , SchemaEntry("ifcwall",&STEP::ObjectHelper<IfcWall,1>::Construct )
  1198. , SchemaEntry("ifcwallelementedcase",&STEP::ObjectHelper<IfcWallElementedCase,0>::Construct )
  1199. , SchemaEntry("ifcwallstandardcase",&STEP::ObjectHelper<IfcWallStandardCase,0>::Construct )
  1200. , SchemaEntry("ifcwalltype",&STEP::ObjectHelper<IfcWallType,1>::Construct )
  1201. , SchemaEntry("ifcwasteterminal",&STEP::ObjectHelper<IfcWasteTerminal,1>::Construct )
  1202. , SchemaEntry("ifcwasteterminaltype",&STEP::ObjectHelper<IfcWasteTerminalType,1>::Construct )
  1203. , SchemaEntry("ifcwindow",&STEP::ObjectHelper<IfcWindow,5>::Construct )
  1204. , SchemaEntry("ifcwindowliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1205. , SchemaEntry("ifcwindowpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1206. , SchemaEntry("ifcwindowstandardcase",&STEP::ObjectHelper<IfcWindowStandardCase,0>::Construct )
  1207. , SchemaEntry("ifcwindowstyle",&STEP::ObjectHelper<IfcWindowStyle,4>::Construct )
  1208. , SchemaEntry("ifcwindowtype",&STEP::ObjectHelper<IfcWindowType,4>::Construct )
  1209. , SchemaEntry("ifcworkcalendar",&STEP::ObjectHelper<IfcWorkCalendar,3>::Construct )
  1210. , SchemaEntry("ifcworkcontrol",&STEP::ObjectHelper<IfcWorkControl,7>::Construct )
  1211. , SchemaEntry("ifcworkplan",&STEP::ObjectHelper<IfcWorkPlan,1>::Construct )
  1212. , SchemaEntry("ifcworkschedule",&STEP::ObjectHelper<IfcWorkSchedule,1>::Construct )
  1213. , SchemaEntry("ifcworktime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1214. , SchemaEntry("ifczshapeprofiledef",&STEP::ObjectHelper<IfcZShapeProfileDef,6>::Construct )
  1215. , SchemaEntry("ifczone",&STEP::ObjectHelper<IfcZone,1>::Construct )
  1216. };
  1217. }
  1218. // -----------------------------------------------------------------------------------------------------------
  1219. void IFC::GetSchema(EXPRESS::ConversionSchema& out)
  1220. {
  1221. out = EXPRESS::ConversionSchema(schema_raw);
  1222. }
  1223. namespace STEP {
  1224. // -----------------------------------------------------------------------------------------------------------
  1225. template <> size_t GenericFill<NotImplemented>(const STEP::DB& db, const LIST& params, NotImplemented* in)
  1226. {
  1227. return 0;
  1228. }
  1229. // -----------------------------------------------------------------------------------------------------------
  1230. template <> size_t GenericFill<IfcRoot>(const DB& db, const LIST& params, IfcRoot* in)
  1231. {
  1232. size_t base = 0;
  1233. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRoot"); } do { // convert the 'GlobalId' argument
  1234. boost::shared_ptr<const DataType> arg = params[base++];
  1235. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[0]=true; break; }
  1236. try { GenericConvert( in->GlobalId, arg, db ); break; }
  1237. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRoot to be a `IfcGloballyUniqueId`")); }
  1238. } while(0);
  1239. do { // convert the 'OwnerHistory' argument
  1240. boost::shared_ptr<const DataType> arg = params[base++];
  1241. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[1]=true; break; }
  1242. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1243. try { GenericConvert( in->OwnerHistory, arg, db ); break; }
  1244. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRoot to be a `IfcOwnerHistory`")); }
  1245. } while(0);
  1246. do { // convert the 'Name' argument
  1247. boost::shared_ptr<const DataType> arg = params[base++];
  1248. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[2]=true; break; }
  1249. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1250. try { GenericConvert( in->Name, arg, db ); break; }
  1251. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRoot to be a `IfcLabel`")); }
  1252. } while(0);
  1253. do { // convert the 'Description' argument
  1254. boost::shared_ptr<const DataType> arg = params[base++];
  1255. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[3]=true; break; }
  1256. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1257. try { GenericConvert( in->Description, arg, db ); break; }
  1258. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRoot to be a `IfcText`")); }
  1259. } while(0);
  1260. return base;
  1261. }
  1262. // -----------------------------------------------------------------------------------------------------------
  1263. template <> size_t GenericFill<IfcObjectDefinition>(const DB& db, const LIST& params, IfcObjectDefinition* in)
  1264. {
  1265. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1266. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcObjectDefinition"); } return base;
  1267. }
  1268. // -----------------------------------------------------------------------------------------------------------
  1269. template <> size_t GenericFill<IfcObject>(const DB& db, const LIST& params, IfcObject* in)
  1270. {
  1271. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1272. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcObject"); } do { // convert the 'ObjectType' argument
  1273. boost::shared_ptr<const DataType> arg = params[base++];
  1274. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcObject,1>::aux_is_derived[0]=true; break; }
  1275. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1276. try { GenericConvert( in->ObjectType, arg, db ); break; }
  1277. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcObject to be a `IfcLabel`")); }
  1278. } while(0);
  1279. return base;
  1280. }
  1281. // -----------------------------------------------------------------------------------------------------------
  1282. template <> size_t GenericFill<IfcControl>(const DB& db, const LIST& params, IfcControl* in)
  1283. {
  1284. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1285. // this data structure is not used yet, so there is no code generated to fill its members
  1286. return base;
  1287. }
  1288. // -----------------------------------------------------------------------------------------------------------
  1289. template <> size_t GenericFill<IfcActionRequest>(const DB& db, const LIST& params, IfcActionRequest* in)
  1290. {
  1291. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1292. // this data structure is not used yet, so there is no code generated to fill its members
  1293. return base;
  1294. }
  1295. // -----------------------------------------------------------------------------------------------------------
  1296. template <> size_t GenericFill<IfcActor>(const DB& db, const LIST& params, IfcActor* in)
  1297. {
  1298. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1299. // this data structure is not used yet, so there is no code generated to fill its members
  1300. return base;
  1301. }
  1302. // -----------------------------------------------------------------------------------------------------------
  1303. template <> size_t GenericFill<IfcProduct>(const DB& db, const LIST& params, IfcProduct* in)
  1304. {
  1305. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1306. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcProduct"); } do { // convert the 'ObjectPlacement' argument
  1307. boost::shared_ptr<const DataType> arg = params[base++];
  1308. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[0]=true; break; }
  1309. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1310. try { GenericConvert( in->ObjectPlacement, arg, db ); break; }
  1311. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProduct to be a `IfcObjectPlacement`")); }
  1312. } while(0);
  1313. do { // convert the 'Representation' argument
  1314. boost::shared_ptr<const DataType> arg = params[base++];
  1315. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[1]=true; break; }
  1316. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1317. try { GenericConvert( in->Representation, arg, db ); break; }
  1318. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProduct to be a `IfcProductRepresentation`")); }
  1319. } while(0);
  1320. return base;
  1321. }
  1322. // -----------------------------------------------------------------------------------------------------------
  1323. template <> size_t GenericFill<IfcElement>(const DB& db, const LIST& params, IfcElement* in)
  1324. {
  1325. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1326. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcElement"); } do { // convert the 'Tag' argument
  1327. boost::shared_ptr<const DataType> arg = params[base++];
  1328. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElement,1>::aux_is_derived[0]=true; break; }
  1329. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1330. try { GenericConvert( in->Tag, arg, db ); break; }
  1331. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcElement to be a `IfcIdentifier`")); }
  1332. } while(0);
  1333. return base;
  1334. }
  1335. // -----------------------------------------------------------------------------------------------------------
  1336. template <> size_t GenericFill<IfcDistributionElement>(const DB& db, const LIST& params, IfcDistributionElement* in)
  1337. {
  1338. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1339. // this data structure is not used yet, so there is no code generated to fill its members
  1340. return base;
  1341. }
  1342. // -----------------------------------------------------------------------------------------------------------
  1343. template <> size_t GenericFill<IfcDistributionControlElement>(const DB& db, const LIST& params, IfcDistributionControlElement* in)
  1344. {
  1345. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  1346. // this data structure is not used yet, so there is no code generated to fill its members
  1347. return base;
  1348. }
  1349. // -----------------------------------------------------------------------------------------------------------
  1350. template <> size_t GenericFill<IfcActuator>(const DB& db, const LIST& params, IfcActuator* in)
  1351. {
  1352. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  1353. // this data structure is not used yet, so there is no code generated to fill its members
  1354. return base;
  1355. }
  1356. // -----------------------------------------------------------------------------------------------------------
  1357. template <> size_t GenericFill<IfcTypeObject>(const DB& db, const LIST& params, IfcTypeObject* in)
  1358. {
  1359. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1360. // this data structure is not used yet, so there is no code generated to fill its members
  1361. return base;
  1362. }
  1363. // -----------------------------------------------------------------------------------------------------------
  1364. template <> size_t GenericFill<IfcTypeProduct>(const DB& db, const LIST& params, IfcTypeProduct* in)
  1365. {
  1366. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  1367. // this data structure is not used yet, so there is no code generated to fill its members
  1368. return base;
  1369. }
  1370. // -----------------------------------------------------------------------------------------------------------
  1371. template <> size_t GenericFill<IfcElementType>(const DB& db, const LIST& params, IfcElementType* in)
  1372. {
  1373. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  1374. // this data structure is not used yet, so there is no code generated to fill its members
  1375. return base;
  1376. }
  1377. // -----------------------------------------------------------------------------------------------------------
  1378. template <> size_t GenericFill<IfcDistributionElementType>(const DB& db, const LIST& params, IfcDistributionElementType* in)
  1379. {
  1380. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1381. // this data structure is not used yet, so there is no code generated to fill its members
  1382. return base;
  1383. }
  1384. // -----------------------------------------------------------------------------------------------------------
  1385. template <> size_t GenericFill<IfcDistributionControlElementType>(const DB& db, const LIST& params, IfcDistributionControlElementType* in)
  1386. {
  1387. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1388. // this data structure is not used yet, so there is no code generated to fill its members
  1389. return base;
  1390. }
  1391. // -----------------------------------------------------------------------------------------------------------
  1392. template <> size_t GenericFill<IfcActuatorType>(const DB& db, const LIST& params, IfcActuatorType* in)
  1393. {
  1394. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  1395. // this data structure is not used yet, so there is no code generated to fill its members
  1396. return base;
  1397. }
  1398. // -----------------------------------------------------------------------------------------------------------
  1399. template <> size_t GenericFill<IfcRepresentationItem>(const DB& db, const LIST& params, IfcRepresentationItem* in)
  1400. {
  1401. size_t base = 0;
  1402. return base;
  1403. }
  1404. // -----------------------------------------------------------------------------------------------------------
  1405. template <> size_t GenericFill<IfcGeometricRepresentationItem>(const DB& db, const LIST& params, IfcGeometricRepresentationItem* in)
  1406. {
  1407. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1408. return base;
  1409. }
  1410. // -----------------------------------------------------------------------------------------------------------
  1411. template <> size_t GenericFill<IfcSolidModel>(const DB& db, const LIST& params, IfcSolidModel* in)
  1412. {
  1413. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1414. return base;
  1415. }
  1416. // -----------------------------------------------------------------------------------------------------------
  1417. template <> size_t GenericFill<IfcManifoldSolidBrep>(const DB& db, const LIST& params, IfcManifoldSolidBrep* in)
  1418. {
  1419. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  1420. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcManifoldSolidBrep"); } do { // convert the 'Outer' argument
  1421. boost::shared_ptr<const DataType> arg = params[base++];
  1422. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcManifoldSolidBrep,1>::aux_is_derived[0]=true; break; }
  1423. try { GenericConvert( in->Outer, arg, db ); break; }
  1424. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcManifoldSolidBrep to be a `IfcClosedShell`")); }
  1425. } while(0);
  1426. return base;
  1427. }
  1428. // -----------------------------------------------------------------------------------------------------------
  1429. template <> size_t GenericFill<IfcAdvancedBrep>(const DB& db, const LIST& params, IfcAdvancedBrep* in)
  1430. {
  1431. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  1432. // this data structure is not used yet, so there is no code generated to fill its members
  1433. return base;
  1434. }
  1435. // -----------------------------------------------------------------------------------------------------------
  1436. template <> size_t GenericFill<IfcAdvancedBrepWithVoids>(const DB& db, const LIST& params, IfcAdvancedBrepWithVoids* in)
  1437. {
  1438. size_t base = GenericFill(db,params,static_cast<IfcAdvancedBrep*>(in));
  1439. // this data structure is not used yet, so there is no code generated to fill its members
  1440. return base;
  1441. }
  1442. // -----------------------------------------------------------------------------------------------------------
  1443. template <> size_t GenericFill<IfcTopologicalRepresentationItem>(const DB& db, const LIST& params, IfcTopologicalRepresentationItem* in)
  1444. {
  1445. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1446. return base;
  1447. }
  1448. // -----------------------------------------------------------------------------------------------------------
  1449. template <> size_t GenericFill<IfcFace>(const DB& db, const LIST& params, IfcFace* in)
  1450. {
  1451. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1452. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFace"); } do { // convert the 'Bounds' argument
  1453. boost::shared_ptr<const DataType> arg = params[base++];
  1454. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFace,1>::aux_is_derived[0]=true; break; }
  1455. try { GenericConvert( in->Bounds, arg, db ); break; }
  1456. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFace to be a `SET [1:?] OF IfcFaceBound`")); }
  1457. } while(0);
  1458. return base;
  1459. }
  1460. // -----------------------------------------------------------------------------------------------------------
  1461. template <> size_t GenericFill<IfcFaceSurface>(const DB& db, const LIST& params, IfcFaceSurface* in)
  1462. {
  1463. size_t base = GenericFill(db,params,static_cast<IfcFace*>(in));
  1464. // this data structure is not used yet, so there is no code generated to fill its members
  1465. return base;
  1466. }
  1467. // -----------------------------------------------------------------------------------------------------------
  1468. template <> size_t GenericFill<IfcAdvancedFace>(const DB& db, const LIST& params, IfcAdvancedFace* in)
  1469. {
  1470. size_t base = GenericFill(db,params,static_cast<IfcFaceSurface*>(in));
  1471. // this data structure is not used yet, so there is no code generated to fill its members
  1472. return base;
  1473. }
  1474. // -----------------------------------------------------------------------------------------------------------
  1475. template <> size_t GenericFill<IfcDistributionFlowElement>(const DB& db, const LIST& params, IfcDistributionFlowElement* in)
  1476. {
  1477. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  1478. // this data structure is not used yet, so there is no code generated to fill its members
  1479. return base;
  1480. }
  1481. // -----------------------------------------------------------------------------------------------------------
  1482. template <> size_t GenericFill<IfcFlowTerminal>(const DB& db, const LIST& params, IfcFlowTerminal* in)
  1483. {
  1484. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  1485. // this data structure is not used yet, so there is no code generated to fill its members
  1486. return base;
  1487. }
  1488. // -----------------------------------------------------------------------------------------------------------
  1489. template <> size_t GenericFill<IfcAirTerminal>(const DB& db, const LIST& params, IfcAirTerminal* in)
  1490. {
  1491. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  1492. // this data structure is not used yet, so there is no code generated to fill its members
  1493. return base;
  1494. }
  1495. // -----------------------------------------------------------------------------------------------------------
  1496. template <> size_t GenericFill<IfcFlowController>(const DB& db, const LIST& params, IfcFlowController* in)
  1497. {
  1498. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  1499. // this data structure is not used yet, so there is no code generated to fill its members
  1500. return base;
  1501. }
  1502. // -----------------------------------------------------------------------------------------------------------
  1503. template <> size_t GenericFill<IfcAirTerminalBox>(const DB& db, const LIST& params, IfcAirTerminalBox* in)
  1504. {
  1505. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  1506. // this data structure is not used yet, so there is no code generated to fill its members
  1507. return base;
  1508. }
  1509. // -----------------------------------------------------------------------------------------------------------
  1510. template <> size_t GenericFill<IfcDistributionFlowElementType>(const DB& db, const LIST& params, IfcDistributionFlowElementType* in)
  1511. {
  1512. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1513. // this data structure is not used yet, so there is no code generated to fill its members
  1514. return base;
  1515. }
  1516. // -----------------------------------------------------------------------------------------------------------
  1517. template <> size_t GenericFill<IfcFlowControllerType>(const DB& db, const LIST& params, IfcFlowControllerType* in)
  1518. {
  1519. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1520. // this data structure is not used yet, so there is no code generated to fill its members
  1521. return base;
  1522. }
  1523. // -----------------------------------------------------------------------------------------------------------
  1524. template <> size_t GenericFill<IfcAirTerminalBoxType>(const DB& db, const LIST& params, IfcAirTerminalBoxType* in)
  1525. {
  1526. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  1527. // this data structure is not used yet, so there is no code generated to fill its members
  1528. return base;
  1529. }
  1530. // -----------------------------------------------------------------------------------------------------------
  1531. template <> size_t GenericFill<IfcFlowTerminalType>(const DB& db, const LIST& params, IfcFlowTerminalType* in)
  1532. {
  1533. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1534. // this data structure is not used yet, so there is no code generated to fill its members
  1535. return base;
  1536. }
  1537. // -----------------------------------------------------------------------------------------------------------
  1538. template <> size_t GenericFill<IfcAirTerminalType>(const DB& db, const LIST& params, IfcAirTerminalType* in)
  1539. {
  1540. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  1541. // this data structure is not used yet, so there is no code generated to fill its members
  1542. return base;
  1543. }
  1544. // -----------------------------------------------------------------------------------------------------------
  1545. template <> size_t GenericFill<IfcEnergyConversionDevice>(const DB& db, const LIST& params, IfcEnergyConversionDevice* in)
  1546. {
  1547. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  1548. // this data structure is not used yet, so there is no code generated to fill its members
  1549. return base;
  1550. }
  1551. // -----------------------------------------------------------------------------------------------------------
  1552. template <> size_t GenericFill<IfcAirToAirHeatRecovery>(const DB& db, const LIST& params, IfcAirToAirHeatRecovery* in)
  1553. {
  1554. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  1555. // this data structure is not used yet, so there is no code generated to fill its members
  1556. return base;
  1557. }
  1558. // -----------------------------------------------------------------------------------------------------------
  1559. template <> size_t GenericFill<IfcEnergyConversionDeviceType>(const DB& db, const LIST& params, IfcEnergyConversionDeviceType* in)
  1560. {
  1561. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1562. // this data structure is not used yet, so there is no code generated to fill its members
  1563. return base;
  1564. }
  1565. // -----------------------------------------------------------------------------------------------------------
  1566. template <> size_t GenericFill<IfcAirToAirHeatRecoveryType>(const DB& db, const LIST& params, IfcAirToAirHeatRecoveryType* in)
  1567. {
  1568. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1569. // this data structure is not used yet, so there is no code generated to fill its members
  1570. return base;
  1571. }
  1572. // -----------------------------------------------------------------------------------------------------------
  1573. template <> size_t GenericFill<IfcAlarm>(const DB& db, const LIST& params, IfcAlarm* in)
  1574. {
  1575. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  1576. // this data structure is not used yet, so there is no code generated to fill its members
  1577. return base;
  1578. }
  1579. // -----------------------------------------------------------------------------------------------------------
  1580. template <> size_t GenericFill<IfcAlarmType>(const DB& db, const LIST& params, IfcAlarmType* in)
  1581. {
  1582. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  1583. // this data structure is not used yet, so there is no code generated to fill its members
  1584. return base;
  1585. }
  1586. // -----------------------------------------------------------------------------------------------------------
  1587. template <> size_t GenericFill<IfcAnnotation>(const DB& db, const LIST& params, IfcAnnotation* in)
  1588. {
  1589. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1590. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcAnnotation"); } return base;
  1591. }
  1592. // -----------------------------------------------------------------------------------------------------------
  1593. template <> size_t GenericFill<IfcAnnotationFillArea>(const DB& db, const LIST& params, IfcAnnotationFillArea* in)
  1594. {
  1595. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1596. // this data structure is not used yet, so there is no code generated to fill its members
  1597. return base;
  1598. }
  1599. // -----------------------------------------------------------------------------------------------------------
  1600. template <> size_t GenericFill<IfcProfileDef>(const DB& db, const LIST& params, IfcProfileDef* in)
  1601. {
  1602. size_t base = 0;
  1603. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProfileDef"); } do { // convert the 'ProfileType' argument
  1604. boost::shared_ptr<const DataType> arg = params[base++];
  1605. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[0]=true; break; }
  1606. try { GenericConvert( in->ProfileType, arg, db ); break; }
  1607. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProfileDef to be a `IfcProfileTypeEnum`")); }
  1608. } while(0);
  1609. do { // convert the 'ProfileName' argument
  1610. boost::shared_ptr<const DataType> arg = params[base++];
  1611. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[1]=true; break; }
  1612. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1613. try { GenericConvert( in->ProfileName, arg, db ); break; }
  1614. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProfileDef to be a `IfcLabel`")); }
  1615. } while(0);
  1616. return base;
  1617. }
  1618. // -----------------------------------------------------------------------------------------------------------
  1619. template <> size_t GenericFill<IfcArbitraryClosedProfileDef>(const DB& db, const LIST& params, IfcArbitraryClosedProfileDef* in)
  1620. {
  1621. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1622. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryClosedProfileDef"); } do { // convert the 'OuterCurve' argument
  1623. boost::shared_ptr<const DataType> arg = params[base++];
  1624. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryClosedProfileDef,1>::aux_is_derived[0]=true; break; }
  1625. try { GenericConvert( in->OuterCurve, arg, db ); break; }
  1626. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryClosedProfileDef to be a `IfcCurve`")); }
  1627. } while(0);
  1628. return base;
  1629. }
  1630. // -----------------------------------------------------------------------------------------------------------
  1631. template <> size_t GenericFill<IfcArbitraryOpenProfileDef>(const DB& db, const LIST& params, IfcArbitraryOpenProfileDef* in)
  1632. {
  1633. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1634. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryOpenProfileDef"); } do { // convert the 'Curve' argument
  1635. boost::shared_ptr<const DataType> arg = params[base++];
  1636. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryOpenProfileDef,1>::aux_is_derived[0]=true; break; }
  1637. try { GenericConvert( in->Curve, arg, db ); break; }
  1638. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryOpenProfileDef to be a `IfcBoundedCurve`")); }
  1639. } while(0);
  1640. return base;
  1641. }
  1642. // -----------------------------------------------------------------------------------------------------------
  1643. template <> size_t GenericFill<IfcArbitraryProfileDefWithVoids>(const DB& db, const LIST& params, IfcArbitraryProfileDefWithVoids* in)
  1644. {
  1645. size_t base = GenericFill(db,params,static_cast<IfcArbitraryClosedProfileDef*>(in));
  1646. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcArbitraryProfileDefWithVoids"); } do { // convert the 'InnerCurves' argument
  1647. boost::shared_ptr<const DataType> arg = params[base++];
  1648. try { GenericConvert( in->InnerCurves, arg, db ); break; }
  1649. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcArbitraryProfileDefWithVoids to be a `SET [1:?] OF IfcCurve`")); }
  1650. } while(0);
  1651. return base;
  1652. }
  1653. // -----------------------------------------------------------------------------------------------------------
  1654. template <> size_t GenericFill<IfcGroup>(const DB& db, const LIST& params, IfcGroup* in)
  1655. {
  1656. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1657. // this data structure is not used yet, so there is no code generated to fill its members
  1658. return base;
  1659. }
  1660. // -----------------------------------------------------------------------------------------------------------
  1661. template <> size_t GenericFill<IfcAsset>(const DB& db, const LIST& params, IfcAsset* in)
  1662. {
  1663. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  1664. // this data structure is not used yet, so there is no code generated to fill its members
  1665. return base;
  1666. }
  1667. // -----------------------------------------------------------------------------------------------------------
  1668. template <> size_t GenericFill<IfcParameterizedProfileDef>(const DB& db, const LIST& params, IfcParameterizedProfileDef* in)
  1669. {
  1670. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1671. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcParameterizedProfileDef"); } do { // convert the 'Position' argument
  1672. boost::shared_ptr<const DataType> arg = params[base++];
  1673. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcParameterizedProfileDef,1>::aux_is_derived[0]=true; break; }
  1674. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1675. try { GenericConvert( in->Position, arg, db ); break; }
  1676. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcParameterizedProfileDef to be a `IfcAxis2Placement2D`")); }
  1677. } while(0);
  1678. return base;
  1679. }
  1680. // -----------------------------------------------------------------------------------------------------------
  1681. template <> size_t GenericFill<IfcAsymmetricIShapeProfileDef>(const DB& db, const LIST& params, IfcAsymmetricIShapeProfileDef* in)
  1682. {
  1683. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  1684. // this data structure is not used yet, so there is no code generated to fill its members
  1685. return base;
  1686. }
  1687. // -----------------------------------------------------------------------------------------------------------
  1688. template <> size_t GenericFill<IfcAudioVisualAppliance>(const DB& db, const LIST& params, IfcAudioVisualAppliance* in)
  1689. {
  1690. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  1691. // this data structure is not used yet, so there is no code generated to fill its members
  1692. return base;
  1693. }
  1694. // -----------------------------------------------------------------------------------------------------------
  1695. template <> size_t GenericFill<IfcAudioVisualApplianceType>(const DB& db, const LIST& params, IfcAudioVisualApplianceType* in)
  1696. {
  1697. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  1698. // this data structure is not used yet, so there is no code generated to fill its members
  1699. return base;
  1700. }
  1701. // -----------------------------------------------------------------------------------------------------------
  1702. template <> size_t GenericFill<IfcPlacement>(const DB& db, const LIST& params, IfcPlacement* in)
  1703. {
  1704. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1705. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlacement"); } do { // convert the 'Location' argument
  1706. boost::shared_ptr<const DataType> arg = params[base++];
  1707. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPlacement,1>::aux_is_derived[0]=true; break; }
  1708. try { GenericConvert( in->Location, arg, db ); break; }
  1709. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPlacement to be a `IfcCartesianPoint`")); }
  1710. } while(0);
  1711. return base;
  1712. }
  1713. // -----------------------------------------------------------------------------------------------------------
  1714. template <> size_t GenericFill<IfcAxis1Placement>(const DB& db, const LIST& params, IfcAxis1Placement* in)
  1715. {
  1716. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1717. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis1Placement"); } do { // convert the 'Axis' argument
  1718. boost::shared_ptr<const DataType> arg = params[base++];
  1719. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1720. try { GenericConvert( in->Axis, arg, db ); break; }
  1721. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis1Placement to be a `IfcDirection`")); }
  1722. } while(0);
  1723. return base;
  1724. }
  1725. // -----------------------------------------------------------------------------------------------------------
  1726. template <> size_t GenericFill<IfcAxis2Placement2D>(const DB& db, const LIST& params, IfcAxis2Placement2D* in)
  1727. {
  1728. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1729. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis2Placement2D"); } do { // convert the 'RefDirection' argument
  1730. boost::shared_ptr<const DataType> arg = params[base++];
  1731. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1732. try { GenericConvert( in->RefDirection, arg, db ); break; }
  1733. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement2D to be a `IfcDirection`")); }
  1734. } while(0);
  1735. return base;
  1736. }
  1737. // -----------------------------------------------------------------------------------------------------------
  1738. template <> size_t GenericFill<IfcAxis2Placement3D>(const DB& db, const LIST& params, IfcAxis2Placement3D* in)
  1739. {
  1740. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1741. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcAxis2Placement3D"); } do { // convert the 'Axis' argument
  1742. boost::shared_ptr<const DataType> arg = params[base++];
  1743. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1744. try { GenericConvert( in->Axis, arg, db ); break; }
  1745. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  1746. } while(0);
  1747. do { // convert the 'RefDirection' argument
  1748. boost::shared_ptr<const DataType> arg = params[base++];
  1749. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1750. try { GenericConvert( in->RefDirection, arg, db ); break; }
  1751. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  1752. } while(0);
  1753. return base;
  1754. }
  1755. // -----------------------------------------------------------------------------------------------------------
  1756. template <> size_t GenericFill<IfcCurve>(const DB& db, const LIST& params, IfcCurve* in)
  1757. {
  1758. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1759. return base;
  1760. }
  1761. // -----------------------------------------------------------------------------------------------------------
  1762. template <> size_t GenericFill<IfcBoundedCurve>(const DB& db, const LIST& params, IfcBoundedCurve* in)
  1763. {
  1764. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1765. return base;
  1766. }
  1767. // -----------------------------------------------------------------------------------------------------------
  1768. template <> size_t GenericFill<IfcBSplineCurve>(const DB& db, const LIST& params, IfcBSplineCurve* in)
  1769. {
  1770. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  1771. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcBSplineCurve"); } do { // convert the 'Degree' argument
  1772. boost::shared_ptr<const DataType> arg = params[base++];
  1773. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[0]=true; break; }
  1774. try { GenericConvert( in->Degree, arg, db ); break; }
  1775. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBSplineCurve to be a `IfcInteger`")); }
  1776. } while(0);
  1777. do { // convert the 'ControlPointsList' argument
  1778. boost::shared_ptr<const DataType> arg = params[base++];
  1779. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[1]=true; break; }
  1780. try { GenericConvert( in->ControlPointsList, arg, db ); break; }
  1781. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBSplineCurve to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  1782. } while(0);
  1783. do { // convert the 'CurveForm' argument
  1784. boost::shared_ptr<const DataType> arg = params[base++];
  1785. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[2]=true; break; }
  1786. try { GenericConvert( in->CurveForm, arg, db ); break; }
  1787. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBSplineCurve to be a `IfcBSplineCurveForm`")); }
  1788. } while(0);
  1789. do { // convert the 'ClosedCurve' argument
  1790. boost::shared_ptr<const DataType> arg = params[base++];
  1791. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[3]=true; break; }
  1792. try { GenericConvert( in->ClosedCurve, arg, db ); break; }
  1793. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBSplineCurve to be a `IfcLogical`")); }
  1794. } while(0);
  1795. do { // convert the 'SelfIntersect' argument
  1796. boost::shared_ptr<const DataType> arg = params[base++];
  1797. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[4]=true; break; }
  1798. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  1799. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcBSplineCurve to be a `IfcLogical`")); }
  1800. } while(0);
  1801. return base;
  1802. }
  1803. // -----------------------------------------------------------------------------------------------------------
  1804. template <> size_t GenericFill<IfcBSplineCurveWithKnots>(const DB& db, const LIST& params, IfcBSplineCurveWithKnots* in)
  1805. {
  1806. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurve*>(in));
  1807. // this data structure is not used yet, so there is no code generated to fill its members
  1808. return base;
  1809. }
  1810. // -----------------------------------------------------------------------------------------------------------
  1811. template <> size_t GenericFill<IfcSurface>(const DB& db, const LIST& params, IfcSurface* in)
  1812. {
  1813. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1814. return base;
  1815. }
  1816. // -----------------------------------------------------------------------------------------------------------
  1817. template <> size_t GenericFill<IfcBoundedSurface>(const DB& db, const LIST& params, IfcBoundedSurface* in)
  1818. {
  1819. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1820. // this data structure is not used yet, so there is no code generated to fill its members
  1821. return base;
  1822. }
  1823. // -----------------------------------------------------------------------------------------------------------
  1824. template <> size_t GenericFill<IfcBSplineSurface>(const DB& db, const LIST& params, IfcBSplineSurface* in)
  1825. {
  1826. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  1827. // this data structure is not used yet, so there is no code generated to fill its members
  1828. return base;
  1829. }
  1830. // -----------------------------------------------------------------------------------------------------------
  1831. template <> size_t GenericFill<IfcBSplineSurfaceWithKnots>(const DB& db, const LIST& params, IfcBSplineSurfaceWithKnots* in)
  1832. {
  1833. size_t base = GenericFill(db,params,static_cast<IfcBSplineSurface*>(in));
  1834. // this data structure is not used yet, so there is no code generated to fill its members
  1835. return base;
  1836. }
  1837. // -----------------------------------------------------------------------------------------------------------
  1838. template <> size_t GenericFill<IfcBuildingElement>(const DB& db, const LIST& params, IfcBuildingElement* in)
  1839. {
  1840. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1841. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcBuildingElement"); } return base;
  1842. }
  1843. // -----------------------------------------------------------------------------------------------------------
  1844. template <> size_t GenericFill<IfcBeam>(const DB& db, const LIST& params, IfcBeam* in)
  1845. {
  1846. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1847. // this data structure is not used yet, so there is no code generated to fill its members
  1848. return base;
  1849. }
  1850. // -----------------------------------------------------------------------------------------------------------
  1851. template <> size_t GenericFill<IfcBeamStandardCase>(const DB& db, const LIST& params, IfcBeamStandardCase* in)
  1852. {
  1853. size_t base = GenericFill(db,params,static_cast<IfcBeam*>(in));
  1854. // this data structure is not used yet, so there is no code generated to fill its members
  1855. return base;
  1856. }
  1857. // -----------------------------------------------------------------------------------------------------------
  1858. template <> size_t GenericFill<IfcBuildingElementType>(const DB& db, const LIST& params, IfcBuildingElementType* in)
  1859. {
  1860. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1861. // this data structure is not used yet, so there is no code generated to fill its members
  1862. return base;
  1863. }
  1864. // -----------------------------------------------------------------------------------------------------------
  1865. template <> size_t GenericFill<IfcBeamType>(const DB& db, const LIST& params, IfcBeamType* in)
  1866. {
  1867. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  1868. // this data structure is not used yet, so there is no code generated to fill its members
  1869. return base;
  1870. }
  1871. // -----------------------------------------------------------------------------------------------------------
  1872. template <> size_t GenericFill<IfcPresentationItem>(const DB& db, const LIST& params, IfcPresentationItem* in)
  1873. {
  1874. size_t base = 0;
  1875. return base;
  1876. }
  1877. // -----------------------------------------------------------------------------------------------------------
  1878. template <> size_t GenericFill<IfcCsgPrimitive3D>(const DB& db, const LIST& params, IfcCsgPrimitive3D* in)
  1879. {
  1880. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1881. // this data structure is not used yet, so there is no code generated to fill its members
  1882. return base;
  1883. }
  1884. // -----------------------------------------------------------------------------------------------------------
  1885. template <> size_t GenericFill<IfcBlock>(const DB& db, const LIST& params, IfcBlock* in)
  1886. {
  1887. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1888. // this data structure is not used yet, so there is no code generated to fill its members
  1889. return base;
  1890. }
  1891. // -----------------------------------------------------------------------------------------------------------
  1892. template <> size_t GenericFill<IfcBoiler>(const DB& db, const LIST& params, IfcBoiler* in)
  1893. {
  1894. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  1895. // this data structure is not used yet, so there is no code generated to fill its members
  1896. return base;
  1897. }
  1898. // -----------------------------------------------------------------------------------------------------------
  1899. template <> size_t GenericFill<IfcBoilerType>(const DB& db, const LIST& params, IfcBoilerType* in)
  1900. {
  1901. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1902. // this data structure is not used yet, so there is no code generated to fill its members
  1903. return base;
  1904. }
  1905. // -----------------------------------------------------------------------------------------------------------
  1906. template <> size_t GenericFill<IfcBooleanResult>(const DB& db, const LIST& params, IfcBooleanResult* in)
  1907. {
  1908. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1909. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanResult"); } do { // convert the 'Operator' argument
  1910. boost::shared_ptr<const DataType> arg = params[base++];
  1911. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[0]=true; break; }
  1912. try { GenericConvert( in->Operator, arg, db ); break; }
  1913. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBooleanResult to be a `IfcBooleanOperator`")); }
  1914. } while(0);
  1915. do { // convert the 'FirstOperand' argument
  1916. boost::shared_ptr<const DataType> arg = params[base++];
  1917. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[1]=true; break; }
  1918. try { GenericConvert( in->FirstOperand, arg, db ); break; }
  1919. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1920. } while(0);
  1921. do { // convert the 'SecondOperand' argument
  1922. boost::shared_ptr<const DataType> arg = params[base++];
  1923. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[2]=true; break; }
  1924. try { GenericConvert( in->SecondOperand, arg, db ); break; }
  1925. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1926. } while(0);
  1927. return base;
  1928. }
  1929. // -----------------------------------------------------------------------------------------------------------
  1930. template <> size_t GenericFill<IfcBooleanClippingResult>(const DB& db, const LIST& params, IfcBooleanClippingResult* in)
  1931. {
  1932. size_t base = GenericFill(db,params,static_cast<IfcBooleanResult*>(in));
  1933. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanClippingResult"); } return base;
  1934. }
  1935. // -----------------------------------------------------------------------------------------------------------
  1936. template <> size_t GenericFill<IfcCompositeCurve>(const DB& db, const LIST& params, IfcCompositeCurve* in)
  1937. {
  1938. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  1939. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCompositeCurve"); } do { // convert the 'Segments' argument
  1940. boost::shared_ptr<const DataType> arg = params[base++];
  1941. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[0]=true; break; }
  1942. try { GenericConvert( in->Segments, arg, db ); break; }
  1943. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurve to be a `LIST [1:?] OF IfcCompositeCurveSegment`")); }
  1944. } while(0);
  1945. do { // convert the 'SelfIntersect' argument
  1946. boost::shared_ptr<const DataType> arg = params[base++];
  1947. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[1]=true; break; }
  1948. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  1949. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurve to be a `IfcLogical`")); }
  1950. } while(0);
  1951. return base;
  1952. }
  1953. // -----------------------------------------------------------------------------------------------------------
  1954. template <> size_t GenericFill<IfcCompositeCurveOnSurface>(const DB& db, const LIST& params, IfcCompositeCurveOnSurface* in)
  1955. {
  1956. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurve*>(in));
  1957. // this data structure is not used yet, so there is no code generated to fill its members
  1958. return base;
  1959. }
  1960. // -----------------------------------------------------------------------------------------------------------
  1961. template <> size_t GenericFill<IfcBoundaryCurve>(const DB& db, const LIST& params, IfcBoundaryCurve* in)
  1962. {
  1963. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurveOnSurface*>(in));
  1964. // this data structure is not used yet, so there is no code generated to fill its members
  1965. return base;
  1966. }
  1967. // -----------------------------------------------------------------------------------------------------------
  1968. template <> size_t GenericFill<IfcBoundingBox>(const DB& db, const LIST& params, IfcBoundingBox* in)
  1969. {
  1970. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1971. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcBoundingBox"); } do { // convert the 'Corner' argument
  1972. boost::shared_ptr<const DataType> arg = params[base++];
  1973. try { GenericConvert( in->Corner, arg, db ); break; }
  1974. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBoundingBox to be a `IfcCartesianPoint`")); }
  1975. } while(0);
  1976. do { // convert the 'XDim' argument
  1977. boost::shared_ptr<const DataType> arg = params[base++];
  1978. try { GenericConvert( in->XDim, arg, db ); break; }
  1979. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1980. } while(0);
  1981. do { // convert the 'YDim' argument
  1982. boost::shared_ptr<const DataType> arg = params[base++];
  1983. try { GenericConvert( in->YDim, arg, db ); break; }
  1984. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1985. } while(0);
  1986. do { // convert the 'ZDim' argument
  1987. boost::shared_ptr<const DataType> arg = params[base++];
  1988. try { GenericConvert( in->ZDim, arg, db ); break; }
  1989. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1990. } while(0);
  1991. return base;
  1992. }
  1993. // -----------------------------------------------------------------------------------------------------------
  1994. template <> size_t GenericFill<IfcHalfSpaceSolid>(const DB& db, const LIST& params, IfcHalfSpaceSolid* in)
  1995. {
  1996. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1997. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcHalfSpaceSolid"); } do { // convert the 'BaseSurface' argument
  1998. boost::shared_ptr<const DataType> arg = params[base++];
  1999. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[0]=true; break; }
  2000. try { GenericConvert( in->BaseSurface, arg, db ); break; }
  2001. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcHalfSpaceSolid to be a `IfcSurface`")); }
  2002. } while(0);
  2003. do { // convert the 'AgreementFlag' argument
  2004. boost::shared_ptr<const DataType> arg = params[base++];
  2005. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[1]=true; break; }
  2006. try { GenericConvert( in->AgreementFlag, arg, db ); break; }
  2007. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcHalfSpaceSolid to be a `IfcBoolean`")); }
  2008. } while(0);
  2009. return base;
  2010. }
  2011. // -----------------------------------------------------------------------------------------------------------
  2012. template <> size_t GenericFill<IfcBoxedHalfSpace>(const DB& db, const LIST& params, IfcBoxedHalfSpace* in)
  2013. {
  2014. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  2015. // this data structure is not used yet, so there is no code generated to fill its members
  2016. return base;
  2017. }
  2018. // -----------------------------------------------------------------------------------------------------------
  2019. template <> size_t GenericFill<IfcSpatialElement>(const DB& db, const LIST& params, IfcSpatialElement* in)
  2020. {
  2021. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  2022. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcSpatialElement"); } do { // convert the 'LongName' argument
  2023. boost::shared_ptr<const DataType> arg = params[base++];
  2024. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialElement,1>::aux_is_derived[0]=true; break; }
  2025. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2026. try { GenericConvert( in->LongName, arg, db ); break; }
  2027. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSpatialElement to be a `IfcLabel`")); }
  2028. } while(0);
  2029. return base;
  2030. }
  2031. // -----------------------------------------------------------------------------------------------------------
  2032. template <> size_t GenericFill<IfcSpatialStructureElement>(const DB& db, const LIST& params, IfcSpatialStructureElement* in)
  2033. {
  2034. size_t base = GenericFill(db,params,static_cast<IfcSpatialElement*>(in));
  2035. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSpatialStructureElement"); } do { // convert the 'CompositionType' argument
  2036. boost::shared_ptr<const DataType> arg = params[base++];
  2037. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,1>::aux_is_derived[0]=true; break; }
  2038. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2039. try { GenericConvert( in->CompositionType, arg, db ); break; }
  2040. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSpatialStructureElement to be a `IfcElementCompositionEnum`")); }
  2041. } while(0);
  2042. return base;
  2043. }
  2044. // -----------------------------------------------------------------------------------------------------------
  2045. template <> size_t GenericFill<IfcBuilding>(const DB& db, const LIST& params, IfcBuilding* in)
  2046. {
  2047. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2048. if (params.GetSize() < 12) { throw STEP::TypeError("expected 12 arguments to IfcBuilding"); } do { // convert the 'ElevationOfRefHeight' argument
  2049. boost::shared_ptr<const DataType> arg = params[base++];
  2050. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2051. try { GenericConvert( in->ElevationOfRefHeight, arg, db ); break; }
  2052. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcBuilding to be a `IfcLengthMeasure`")); }
  2053. } while(0);
  2054. do { // convert the 'ElevationOfTerrain' argument
  2055. boost::shared_ptr<const DataType> arg = params[base++];
  2056. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2057. try { GenericConvert( in->ElevationOfTerrain, arg, db ); break; }
  2058. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcBuilding to be a `IfcLengthMeasure`")); }
  2059. } while(0);
  2060. do { // convert the 'BuildingAddress' argument
  2061. boost::shared_ptr<const DataType> arg = params[base++];
  2062. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2063. try { GenericConvert( in->BuildingAddress, arg, db ); break; }
  2064. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcBuilding to be a `IfcPostalAddress`")); }
  2065. } while(0);
  2066. return base;
  2067. }
  2068. // -----------------------------------------------------------------------------------------------------------
  2069. template <> size_t GenericFill<IfcElementComponent>(const DB& db, const LIST& params, IfcElementComponent* in)
  2070. {
  2071. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2072. // this data structure is not used yet, so there is no code generated to fill its members
  2073. return base;
  2074. }
  2075. // -----------------------------------------------------------------------------------------------------------
  2076. template <> size_t GenericFill<IfcBuildingElementPart>(const DB& db, const LIST& params, IfcBuildingElementPart* in)
  2077. {
  2078. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2079. // this data structure is not used yet, so there is no code generated to fill its members
  2080. return base;
  2081. }
  2082. // -----------------------------------------------------------------------------------------------------------
  2083. template <> size_t GenericFill<IfcElementComponentType>(const DB& db, const LIST& params, IfcElementComponentType* in)
  2084. {
  2085. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2086. // this data structure is not used yet, so there is no code generated to fill its members
  2087. return base;
  2088. }
  2089. // -----------------------------------------------------------------------------------------------------------
  2090. template <> size_t GenericFill<IfcBuildingElementPartType>(const DB& db, const LIST& params, IfcBuildingElementPartType* in)
  2091. {
  2092. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  2093. // this data structure is not used yet, so there is no code generated to fill its members
  2094. return base;
  2095. }
  2096. // -----------------------------------------------------------------------------------------------------------
  2097. template <> size_t GenericFill<IfcBuildingElementProxy>(const DB& db, const LIST& params, IfcBuildingElementProxy* in)
  2098. {
  2099. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2100. // this data structure is not used yet, so there is no code generated to fill its members
  2101. return base;
  2102. }
  2103. // -----------------------------------------------------------------------------------------------------------
  2104. template <> size_t GenericFill<IfcBuildingElementProxyType>(const DB& db, const LIST& params, IfcBuildingElementProxyType* in)
  2105. {
  2106. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2107. // this data structure is not used yet, so there is no code generated to fill its members
  2108. return base;
  2109. }
  2110. // -----------------------------------------------------------------------------------------------------------
  2111. template <> size_t GenericFill<IfcBuildingStorey>(const DB& db, const LIST& params, IfcBuildingStorey* in)
  2112. {
  2113. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2114. // this data structure is not used yet, so there is no code generated to fill its members
  2115. return base;
  2116. }
  2117. // -----------------------------------------------------------------------------------------------------------
  2118. template <> size_t GenericFill<IfcSystem>(const DB& db, const LIST& params, IfcSystem* in)
  2119. {
  2120. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2121. // this data structure is not used yet, so there is no code generated to fill its members
  2122. return base;
  2123. }
  2124. // -----------------------------------------------------------------------------------------------------------
  2125. template <> size_t GenericFill<IfcBuildingSystem>(const DB& db, const LIST& params, IfcBuildingSystem* in)
  2126. {
  2127. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  2128. // this data structure is not used yet, so there is no code generated to fill its members
  2129. return base;
  2130. }
  2131. // -----------------------------------------------------------------------------------------------------------
  2132. template <> size_t GenericFill<IfcBurner>(const DB& db, const LIST& params, IfcBurner* in)
  2133. {
  2134. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2135. // this data structure is not used yet, so there is no code generated to fill its members
  2136. return base;
  2137. }
  2138. // -----------------------------------------------------------------------------------------------------------
  2139. template <> size_t GenericFill<IfcBurnerType>(const DB& db, const LIST& params, IfcBurnerType* in)
  2140. {
  2141. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2142. // this data structure is not used yet, so there is no code generated to fill its members
  2143. return base;
  2144. }
  2145. // -----------------------------------------------------------------------------------------------------------
  2146. template <> size_t GenericFill<IfcCShapeProfileDef>(const DB& db, const LIST& params, IfcCShapeProfileDef* in)
  2147. {
  2148. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2149. // this data structure is not used yet, so there is no code generated to fill its members
  2150. return base;
  2151. }
  2152. // -----------------------------------------------------------------------------------------------------------
  2153. template <> size_t GenericFill<IfcFlowFitting>(const DB& db, const LIST& params, IfcFlowFitting* in)
  2154. {
  2155. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2156. // this data structure is not used yet, so there is no code generated to fill its members
  2157. return base;
  2158. }
  2159. // -----------------------------------------------------------------------------------------------------------
  2160. template <> size_t GenericFill<IfcCableCarrierFitting>(const DB& db, const LIST& params, IfcCableCarrierFitting* in)
  2161. {
  2162. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  2163. // this data structure is not used yet, so there is no code generated to fill its members
  2164. return base;
  2165. }
  2166. // -----------------------------------------------------------------------------------------------------------
  2167. template <> size_t GenericFill<IfcFlowFittingType>(const DB& db, const LIST& params, IfcFlowFittingType* in)
  2168. {
  2169. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2170. // this data structure is not used yet, so there is no code generated to fill its members
  2171. return base;
  2172. }
  2173. // -----------------------------------------------------------------------------------------------------------
  2174. template <> size_t GenericFill<IfcCableCarrierFittingType>(const DB& db, const LIST& params, IfcCableCarrierFittingType* in)
  2175. {
  2176. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2177. // this data structure is not used yet, so there is no code generated to fill its members
  2178. return base;
  2179. }
  2180. // -----------------------------------------------------------------------------------------------------------
  2181. template <> size_t GenericFill<IfcFlowSegment>(const DB& db, const LIST& params, IfcFlowSegment* in)
  2182. {
  2183. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2184. // this data structure is not used yet, so there is no code generated to fill its members
  2185. return base;
  2186. }
  2187. // -----------------------------------------------------------------------------------------------------------
  2188. template <> size_t GenericFill<IfcCableCarrierSegment>(const DB& db, const LIST& params, IfcCableCarrierSegment* in)
  2189. {
  2190. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  2191. // this data structure is not used yet, so there is no code generated to fill its members
  2192. return base;
  2193. }
  2194. // -----------------------------------------------------------------------------------------------------------
  2195. template <> size_t GenericFill<IfcFlowSegmentType>(const DB& db, const LIST& params, IfcFlowSegmentType* in)
  2196. {
  2197. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2198. // this data structure is not used yet, so there is no code generated to fill its members
  2199. return base;
  2200. }
  2201. // -----------------------------------------------------------------------------------------------------------
  2202. template <> size_t GenericFill<IfcCableCarrierSegmentType>(const DB& db, const LIST& params, IfcCableCarrierSegmentType* in)
  2203. {
  2204. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  2205. // this data structure is not used yet, so there is no code generated to fill its members
  2206. return base;
  2207. }
  2208. // -----------------------------------------------------------------------------------------------------------
  2209. template <> size_t GenericFill<IfcCableFitting>(const DB& db, const LIST& params, IfcCableFitting* in)
  2210. {
  2211. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  2212. // this data structure is not used yet, so there is no code generated to fill its members
  2213. return base;
  2214. }
  2215. // -----------------------------------------------------------------------------------------------------------
  2216. template <> size_t GenericFill<IfcCableFittingType>(const DB& db, const LIST& params, IfcCableFittingType* in)
  2217. {
  2218. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2219. // this data structure is not used yet, so there is no code generated to fill its members
  2220. return base;
  2221. }
  2222. // -----------------------------------------------------------------------------------------------------------
  2223. template <> size_t GenericFill<IfcCableSegment>(const DB& db, const LIST& params, IfcCableSegment* in)
  2224. {
  2225. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  2226. // this data structure is not used yet, so there is no code generated to fill its members
  2227. return base;
  2228. }
  2229. // -----------------------------------------------------------------------------------------------------------
  2230. template <> size_t GenericFill<IfcCableSegmentType>(const DB& db, const LIST& params, IfcCableSegmentType* in)
  2231. {
  2232. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  2233. // this data structure is not used yet, so there is no code generated to fill its members
  2234. return base;
  2235. }
  2236. // -----------------------------------------------------------------------------------------------------------
  2237. template <> size_t GenericFill<IfcPoint>(const DB& db, const LIST& params, IfcPoint* in)
  2238. {
  2239. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2240. return base;
  2241. }
  2242. // -----------------------------------------------------------------------------------------------------------
  2243. template <> size_t GenericFill<IfcCartesianPoint>(const DB& db, const LIST& params, IfcCartesianPoint* in)
  2244. {
  2245. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  2246. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcCartesianPoint"); } do { // convert the 'Coordinates' argument
  2247. boost::shared_ptr<const DataType> arg = params[base++];
  2248. try { GenericConvert( in->Coordinates, arg, db ); break; }
  2249. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianPoint to be a `LIST [1:3] OF IfcLengthMeasure`")); }
  2250. } while(0);
  2251. return base;
  2252. }
  2253. // -----------------------------------------------------------------------------------------------------------
  2254. template <> size_t GenericFill<IfcCartesianPointList>(const DB& db, const LIST& params, IfcCartesianPointList* in)
  2255. {
  2256. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2257. // this data structure is not used yet, so there is no code generated to fill its members
  2258. return base;
  2259. }
  2260. // -----------------------------------------------------------------------------------------------------------
  2261. template <> size_t GenericFill<IfcCartesianPointList2D>(const DB& db, const LIST& params, IfcCartesianPointList2D* in)
  2262. {
  2263. size_t base = GenericFill(db,params,static_cast<IfcCartesianPointList*>(in));
  2264. // this data structure is not used yet, so there is no code generated to fill its members
  2265. return base;
  2266. }
  2267. // -----------------------------------------------------------------------------------------------------------
  2268. template <> size_t GenericFill<IfcCartesianPointList3D>(const DB& db, const LIST& params, IfcCartesianPointList3D* in)
  2269. {
  2270. size_t base = GenericFill(db,params,static_cast<IfcCartesianPointList*>(in));
  2271. // this data structure is not used yet, so there is no code generated to fill its members
  2272. return base;
  2273. }
  2274. // -----------------------------------------------------------------------------------------------------------
  2275. template <> size_t GenericFill<IfcCartesianTransformationOperator>(const DB& db, const LIST& params, IfcCartesianTransformationOperator* in)
  2276. {
  2277. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2278. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCartesianTransformationOperator"); } do { // convert the 'Axis1' argument
  2279. boost::shared_ptr<const DataType> arg = params[base++];
  2280. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[0]=true; break; }
  2281. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2282. try { GenericConvert( in->Axis1, arg, db ); break; }
  2283. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2284. } while(0);
  2285. do { // convert the 'Axis2' argument
  2286. boost::shared_ptr<const DataType> arg = params[base++];
  2287. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[1]=true; break; }
  2288. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2289. try { GenericConvert( in->Axis2, arg, db ); break; }
  2290. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2291. } while(0);
  2292. do { // convert the 'LocalOrigin' argument
  2293. boost::shared_ptr<const DataType> arg = params[base++];
  2294. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[2]=true; break; }
  2295. try { GenericConvert( in->LocalOrigin, arg, db ); break; }
  2296. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCartesianTransformationOperator to be a `IfcCartesianPoint`")); }
  2297. } while(0);
  2298. do { // convert the 'Scale' argument
  2299. boost::shared_ptr<const DataType> arg = params[base++];
  2300. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[3]=true; break; }
  2301. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2302. try { GenericConvert( in->Scale, arg, db ); break; }
  2303. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCartesianTransformationOperator to be a `IfcReal`")); }
  2304. } while(0);
  2305. return base;
  2306. }
  2307. // -----------------------------------------------------------------------------------------------------------
  2308. template <> size_t GenericFill<IfcCartesianTransformationOperator2D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2D* in)
  2309. {
  2310. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2311. // this data structure is not used yet, so there is no code generated to fill its members
  2312. return base;
  2313. }
  2314. // -----------------------------------------------------------------------------------------------------------
  2315. template <> size_t GenericFill<IfcCartesianTransformationOperator2DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2DnonUniform* in)
  2316. {
  2317. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator2D*>(in));
  2318. // this data structure is not used yet, so there is no code generated to fill its members
  2319. return base;
  2320. }
  2321. // -----------------------------------------------------------------------------------------------------------
  2322. template <> size_t GenericFill<IfcCartesianTransformationOperator3D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3D* in)
  2323. {
  2324. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2325. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCartesianTransformationOperator3D"); } do { // convert the 'Axis3' argument
  2326. boost::shared_ptr<const DataType> arg = params[base++];
  2327. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator3D,1>::aux_is_derived[0]=true; break; }
  2328. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2329. try { GenericConvert( in->Axis3, arg, db ); break; }
  2330. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCartesianTransformationOperator3D to be a `IfcDirection`")); }
  2331. } while(0);
  2332. return base;
  2333. }
  2334. // -----------------------------------------------------------------------------------------------------------
  2335. template <> size_t GenericFill<IfcCartesianTransformationOperator3DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3DnonUniform* in)
  2336. {
  2337. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator3D*>(in));
  2338. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcCartesianTransformationOperator3DnonUniform"); } do { // convert the 'Scale2' argument
  2339. boost::shared_ptr<const DataType> arg = params[base++];
  2340. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2341. try { GenericConvert( in->Scale2, arg, db ); break; }
  2342. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcCartesianTransformationOperator3DnonUniform to be a `IfcReal`")); }
  2343. } while(0);
  2344. do { // convert the 'Scale3' argument
  2345. boost::shared_ptr<const DataType> arg = params[base++];
  2346. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2347. try { GenericConvert( in->Scale3, arg, db ); break; }
  2348. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcCartesianTransformationOperator3DnonUniform to be a `IfcReal`")); }
  2349. } while(0);
  2350. return base;
  2351. }
  2352. // -----------------------------------------------------------------------------------------------------------
  2353. template <> size_t GenericFill<IfcCenterLineProfileDef>(const DB& db, const LIST& params, IfcCenterLineProfileDef* in)
  2354. {
  2355. size_t base = GenericFill(db,params,static_cast<IfcArbitraryOpenProfileDef*>(in));
  2356. // this data structure is not used yet, so there is no code generated to fill its members
  2357. return base;
  2358. }
  2359. // -----------------------------------------------------------------------------------------------------------
  2360. template <> size_t GenericFill<IfcChiller>(const DB& db, const LIST& params, IfcChiller* in)
  2361. {
  2362. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2363. // this data structure is not used yet, so there is no code generated to fill its members
  2364. return base;
  2365. }
  2366. // -----------------------------------------------------------------------------------------------------------
  2367. template <> size_t GenericFill<IfcChillerType>(const DB& db, const LIST& params, IfcChillerType* in)
  2368. {
  2369. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2370. // this data structure is not used yet, so there is no code generated to fill its members
  2371. return base;
  2372. }
  2373. // -----------------------------------------------------------------------------------------------------------
  2374. template <> size_t GenericFill<IfcChimney>(const DB& db, const LIST& params, IfcChimney* in)
  2375. {
  2376. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2377. // this data structure is not used yet, so there is no code generated to fill its members
  2378. return base;
  2379. }
  2380. // -----------------------------------------------------------------------------------------------------------
  2381. template <> size_t GenericFill<IfcChimneyType>(const DB& db, const LIST& params, IfcChimneyType* in)
  2382. {
  2383. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2384. // this data structure is not used yet, so there is no code generated to fill its members
  2385. return base;
  2386. }
  2387. // -----------------------------------------------------------------------------------------------------------
  2388. template <> size_t GenericFill<IfcConic>(const DB& db, const LIST& params, IfcConic* in)
  2389. {
  2390. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2391. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConic"); } do { // convert the 'Position' argument
  2392. boost::shared_ptr<const DataType> arg = params[base++];
  2393. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConic,1>::aux_is_derived[0]=true; break; }
  2394. try { GenericConvert( in->Position, arg, db ); break; }
  2395. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConic to be a `IfcAxis2Placement`")); }
  2396. } while(0);
  2397. return base;
  2398. }
  2399. // -----------------------------------------------------------------------------------------------------------
  2400. template <> size_t GenericFill<IfcCircle>(const DB& db, const LIST& params, IfcCircle* in)
  2401. {
  2402. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  2403. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCircle"); } do { // convert the 'Radius' argument
  2404. boost::shared_ptr<const DataType> arg = params[base++];
  2405. try { GenericConvert( in->Radius, arg, db ); break; }
  2406. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCircle to be a `IfcPositiveLengthMeasure`")); }
  2407. } while(0);
  2408. return base;
  2409. }
  2410. // -----------------------------------------------------------------------------------------------------------
  2411. template <> size_t GenericFill<IfcCircleProfileDef>(const DB& db, const LIST& params, IfcCircleProfileDef* in)
  2412. {
  2413. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2414. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCircleProfileDef"); } do { // convert the 'Radius' argument
  2415. boost::shared_ptr<const DataType> arg = params[base++];
  2416. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCircleProfileDef,1>::aux_is_derived[0]=true; break; }
  2417. try { GenericConvert( in->Radius, arg, db ); break; }
  2418. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCircleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2419. } while(0);
  2420. return base;
  2421. }
  2422. // -----------------------------------------------------------------------------------------------------------
  2423. template <> size_t GenericFill<IfcCircleHollowProfileDef>(const DB& db, const LIST& params, IfcCircleHollowProfileDef* in)
  2424. {
  2425. size_t base = GenericFill(db,params,static_cast<IfcCircleProfileDef*>(in));
  2426. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCircleHollowProfileDef"); } do { // convert the 'WallThickness' argument
  2427. boost::shared_ptr<const DataType> arg = params[base++];
  2428. try { GenericConvert( in->WallThickness, arg, db ); break; }
  2429. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCircleHollowProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2430. } while(0);
  2431. return base;
  2432. }
  2433. // -----------------------------------------------------------------------------------------------------------
  2434. template <> size_t GenericFill<IfcCivilElement>(const DB& db, const LIST& params, IfcCivilElement* in)
  2435. {
  2436. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2437. // this data structure is not used yet, so there is no code generated to fill its members
  2438. return base;
  2439. }
  2440. // -----------------------------------------------------------------------------------------------------------
  2441. template <> size_t GenericFill<IfcCivilElementType>(const DB& db, const LIST& params, IfcCivilElementType* in)
  2442. {
  2443. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2444. // this data structure is not used yet, so there is no code generated to fill its members
  2445. return base;
  2446. }
  2447. // -----------------------------------------------------------------------------------------------------------
  2448. template <> size_t GenericFill<IfcConnectedFaceSet>(const DB& db, const LIST& params, IfcConnectedFaceSet* in)
  2449. {
  2450. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2451. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConnectedFaceSet"); } do { // convert the 'CfsFaces' argument
  2452. boost::shared_ptr<const DataType> arg = params[base++];
  2453. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConnectedFaceSet,1>::aux_is_derived[0]=true; break; }
  2454. try { GenericConvert( in->CfsFaces, arg, db ); break; }
  2455. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConnectedFaceSet to be a `SET [1:?] OF IfcFace`")); }
  2456. } while(0);
  2457. return base;
  2458. }
  2459. // -----------------------------------------------------------------------------------------------------------
  2460. template <> size_t GenericFill<IfcClosedShell>(const DB& db, const LIST& params, IfcClosedShell* in)
  2461. {
  2462. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  2463. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcClosedShell"); } return base;
  2464. }
  2465. // -----------------------------------------------------------------------------------------------------------
  2466. template <> size_t GenericFill<IfcCoil>(const DB& db, const LIST& params, IfcCoil* in)
  2467. {
  2468. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2469. // this data structure is not used yet, so there is no code generated to fill its members
  2470. return base;
  2471. }
  2472. // -----------------------------------------------------------------------------------------------------------
  2473. template <> size_t GenericFill<IfcCoilType>(const DB& db, const LIST& params, IfcCoilType* in)
  2474. {
  2475. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2476. // this data structure is not used yet, so there is no code generated to fill its members
  2477. return base;
  2478. }
  2479. // -----------------------------------------------------------------------------------------------------------
  2480. template <> size_t GenericFill<IfcColourSpecification>(const DB& db, const LIST& params, IfcColourSpecification* in)
  2481. {
  2482. size_t base = GenericFill(db,params,static_cast<IfcPresentationItem*>(in));
  2483. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcColourSpecification"); } do { // convert the 'Name' argument
  2484. boost::shared_ptr<const DataType> arg = params[base++];
  2485. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcColourSpecification,1>::aux_is_derived[0]=true; break; }
  2486. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2487. try { GenericConvert( in->Name, arg, db ); break; }
  2488. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcColourSpecification to be a `IfcLabel`")); }
  2489. } while(0);
  2490. return base;
  2491. }
  2492. // -----------------------------------------------------------------------------------------------------------
  2493. template <> size_t GenericFill<IfcColourRgb>(const DB& db, const LIST& params, IfcColourRgb* in)
  2494. {
  2495. size_t base = GenericFill(db,params,static_cast<IfcColourSpecification*>(in));
  2496. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcColourRgb"); } do { // convert the 'Red' argument
  2497. boost::shared_ptr<const DataType> arg = params[base++];
  2498. try { GenericConvert( in->Red, arg, db ); break; }
  2499. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2500. } while(0);
  2501. do { // convert the 'Green' argument
  2502. boost::shared_ptr<const DataType> arg = params[base++];
  2503. try { GenericConvert( in->Green, arg, db ); break; }
  2504. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2505. } while(0);
  2506. do { // convert the 'Blue' argument
  2507. boost::shared_ptr<const DataType> arg = params[base++];
  2508. try { GenericConvert( in->Blue, arg, db ); break; }
  2509. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2510. } while(0);
  2511. return base;
  2512. }
  2513. // -----------------------------------------------------------------------------------------------------------
  2514. template <> size_t GenericFill<IfcColumn>(const DB& db, const LIST& params, IfcColumn* in)
  2515. {
  2516. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2517. // this data structure is not used yet, so there is no code generated to fill its members
  2518. return base;
  2519. }
  2520. // -----------------------------------------------------------------------------------------------------------
  2521. template <> size_t GenericFill<IfcColumnStandardCase>(const DB& db, const LIST& params, IfcColumnStandardCase* in)
  2522. {
  2523. size_t base = GenericFill(db,params,static_cast<IfcColumn*>(in));
  2524. // this data structure is not used yet, so there is no code generated to fill its members
  2525. return base;
  2526. }
  2527. // -----------------------------------------------------------------------------------------------------------
  2528. template <> size_t GenericFill<IfcColumnType>(const DB& db, const LIST& params, IfcColumnType* in)
  2529. {
  2530. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2531. // this data structure is not used yet, so there is no code generated to fill its members
  2532. return base;
  2533. }
  2534. // -----------------------------------------------------------------------------------------------------------
  2535. template <> size_t GenericFill<IfcCommunicationsAppliance>(const DB& db, const LIST& params, IfcCommunicationsAppliance* in)
  2536. {
  2537. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  2538. // this data structure is not used yet, so there is no code generated to fill its members
  2539. return base;
  2540. }
  2541. // -----------------------------------------------------------------------------------------------------------
  2542. template <> size_t GenericFill<IfcCommunicationsApplianceType>(const DB& db, const LIST& params, IfcCommunicationsApplianceType* in)
  2543. {
  2544. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2545. // this data structure is not used yet, so there is no code generated to fill its members
  2546. return base;
  2547. }
  2548. // -----------------------------------------------------------------------------------------------------------
  2549. template <> size_t GenericFill<IfcPropertyAbstraction>(const DB& db, const LIST& params, IfcPropertyAbstraction* in)
  2550. {
  2551. size_t base = 0;
  2552. return base;
  2553. }
  2554. // -----------------------------------------------------------------------------------------------------------
  2555. template <> size_t GenericFill<IfcProperty>(const DB& db, const LIST& params, IfcProperty* in)
  2556. {
  2557. size_t base = GenericFill(db,params,static_cast<IfcPropertyAbstraction*>(in));
  2558. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProperty"); } do { // convert the 'Name' argument
  2559. boost::shared_ptr<const DataType> arg = params[base++];
  2560. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProperty,2>::aux_is_derived[0]=true; break; }
  2561. try { GenericConvert( in->Name, arg, db ); break; }
  2562. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProperty to be a `IfcIdentifier`")); }
  2563. } while(0);
  2564. do { // convert the 'Description' argument
  2565. boost::shared_ptr<const DataType> arg = params[base++];
  2566. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProperty,2>::aux_is_derived[1]=true; break; }
  2567. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2568. try { GenericConvert( in->Description, arg, db ); break; }
  2569. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProperty to be a `IfcText`")); }
  2570. } while(0);
  2571. return base;
  2572. }
  2573. // -----------------------------------------------------------------------------------------------------------
  2574. template <> size_t GenericFill<IfcComplexProperty>(const DB& db, const LIST& params, IfcComplexProperty* in)
  2575. {
  2576. size_t base = GenericFill(db,params,static_cast<IfcProperty*>(in));
  2577. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcComplexProperty"); } do { // convert the 'UsageName' argument
  2578. boost::shared_ptr<const DataType> arg = params[base++];
  2579. try { GenericConvert( in->UsageName, arg, db ); break; }
  2580. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcComplexProperty to be a `IfcIdentifier`")); }
  2581. } while(0);
  2582. do { // convert the 'HasProperties' argument
  2583. boost::shared_ptr<const DataType> arg = params[base++];
  2584. try { GenericConvert( in->HasProperties, arg, db ); break; }
  2585. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcComplexProperty to be a `SET [1:?] OF IfcProperty`")); }
  2586. } while(0);
  2587. return base;
  2588. }
  2589. // -----------------------------------------------------------------------------------------------------------
  2590. template <> size_t GenericFill<IfcPropertyDefinition>(const DB& db, const LIST& params, IfcPropertyDefinition* in)
  2591. {
  2592. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  2593. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertyDefinition"); } return base;
  2594. }
  2595. // -----------------------------------------------------------------------------------------------------------
  2596. template <> size_t GenericFill<IfcCompositeCurveSegment>(const DB& db, const LIST& params, IfcCompositeCurveSegment* in)
  2597. {
  2598. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2599. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcCompositeCurveSegment"); } do { // convert the 'Transition' argument
  2600. boost::shared_ptr<const DataType> arg = params[base++];
  2601. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurveSegment,3>::aux_is_derived[0]=true; break; }
  2602. try { GenericConvert( in->Transition, arg, db ); break; }
  2603. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurveSegment to be a `IfcTransitionCode`")); }
  2604. } while(0);
  2605. do { // convert the 'SameSense' argument
  2606. boost::shared_ptr<const DataType> arg = params[base++];
  2607. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurveSegment,3>::aux_is_derived[1]=true; break; }
  2608. try { GenericConvert( in->SameSense, arg, db ); break; }
  2609. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurveSegment to be a `IfcBoolean`")); }
  2610. } while(0);
  2611. do { // convert the 'ParentCurve' argument
  2612. boost::shared_ptr<const DataType> arg = params[base++];
  2613. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurveSegment,3>::aux_is_derived[2]=true; break; }
  2614. try { GenericConvert( in->ParentCurve, arg, db ); break; }
  2615. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCompositeCurveSegment to be a `IfcCurve`")); }
  2616. } while(0);
  2617. return base;
  2618. }
  2619. // -----------------------------------------------------------------------------------------------------------
  2620. template <> size_t GenericFill<IfcCompositeProfileDef>(const DB& db, const LIST& params, IfcCompositeProfileDef* in)
  2621. {
  2622. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2623. // this data structure is not used yet, so there is no code generated to fill its members
  2624. return base;
  2625. }
  2626. // -----------------------------------------------------------------------------------------------------------
  2627. template <> size_t GenericFill<IfcFlowMovingDevice>(const DB& db, const LIST& params, IfcFlowMovingDevice* in)
  2628. {
  2629. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2630. // this data structure is not used yet, so there is no code generated to fill its members
  2631. return base;
  2632. }
  2633. // -----------------------------------------------------------------------------------------------------------
  2634. template <> size_t GenericFill<IfcCompressor>(const DB& db, const LIST& params, IfcCompressor* in)
  2635. {
  2636. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDevice*>(in));
  2637. // this data structure is not used yet, so there is no code generated to fill its members
  2638. return base;
  2639. }
  2640. // -----------------------------------------------------------------------------------------------------------
  2641. template <> size_t GenericFill<IfcFlowMovingDeviceType>(const DB& db, const LIST& params, IfcFlowMovingDeviceType* in)
  2642. {
  2643. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2644. // this data structure is not used yet, so there is no code generated to fill its members
  2645. return base;
  2646. }
  2647. // -----------------------------------------------------------------------------------------------------------
  2648. template <> size_t GenericFill<IfcCompressorType>(const DB& db, const LIST& params, IfcCompressorType* in)
  2649. {
  2650. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  2651. // this data structure is not used yet, so there is no code generated to fill its members
  2652. return base;
  2653. }
  2654. // -----------------------------------------------------------------------------------------------------------
  2655. template <> size_t GenericFill<IfcCondenser>(const DB& db, const LIST& params, IfcCondenser* in)
  2656. {
  2657. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2658. // this data structure is not used yet, so there is no code generated to fill its members
  2659. return base;
  2660. }
  2661. // -----------------------------------------------------------------------------------------------------------
  2662. template <> size_t GenericFill<IfcCondenserType>(const DB& db, const LIST& params, IfcCondenserType* in)
  2663. {
  2664. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2665. // this data structure is not used yet, so there is no code generated to fill its members
  2666. return base;
  2667. }
  2668. // -----------------------------------------------------------------------------------------------------------
  2669. template <> size_t GenericFill<IfcResource>(const DB& db, const LIST& params, IfcResource* in)
  2670. {
  2671. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  2672. // this data structure is not used yet, so there is no code generated to fill its members
  2673. return base;
  2674. }
  2675. // -----------------------------------------------------------------------------------------------------------
  2676. template <> size_t GenericFill<IfcConstructionResource>(const DB& db, const LIST& params, IfcConstructionResource* in)
  2677. {
  2678. size_t base = GenericFill(db,params,static_cast<IfcResource*>(in));
  2679. // this data structure is not used yet, so there is no code generated to fill its members
  2680. return base;
  2681. }
  2682. // -----------------------------------------------------------------------------------------------------------
  2683. template <> size_t GenericFill<IfcConstructionEquipmentResource>(const DB& db, const LIST& params, IfcConstructionEquipmentResource* in)
  2684. {
  2685. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2686. // this data structure is not used yet, so there is no code generated to fill its members
  2687. return base;
  2688. }
  2689. // -----------------------------------------------------------------------------------------------------------
  2690. template <> size_t GenericFill<IfcTypeResource>(const DB& db, const LIST& params, IfcTypeResource* in)
  2691. {
  2692. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  2693. // this data structure is not used yet, so there is no code generated to fill its members
  2694. return base;
  2695. }
  2696. // -----------------------------------------------------------------------------------------------------------
  2697. template <> size_t GenericFill<IfcConstructionResourceType>(const DB& db, const LIST& params, IfcConstructionResourceType* in)
  2698. {
  2699. size_t base = GenericFill(db,params,static_cast<IfcTypeResource*>(in));
  2700. // this data structure is not used yet, so there is no code generated to fill its members
  2701. return base;
  2702. }
  2703. // -----------------------------------------------------------------------------------------------------------
  2704. template <> size_t GenericFill<IfcConstructionEquipmentResourceType>(const DB& db, const LIST& params, IfcConstructionEquipmentResourceType* in)
  2705. {
  2706. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2707. // this data structure is not used yet, so there is no code generated to fill its members
  2708. return base;
  2709. }
  2710. // -----------------------------------------------------------------------------------------------------------
  2711. template <> size_t GenericFill<IfcConstructionMaterialResource>(const DB& db, const LIST& params, IfcConstructionMaterialResource* in)
  2712. {
  2713. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2714. // this data structure is not used yet, so there is no code generated to fill its members
  2715. return base;
  2716. }
  2717. // -----------------------------------------------------------------------------------------------------------
  2718. template <> size_t GenericFill<IfcConstructionMaterialResourceType>(const DB& db, const LIST& params, IfcConstructionMaterialResourceType* in)
  2719. {
  2720. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2721. // this data structure is not used yet, so there is no code generated to fill its members
  2722. return base;
  2723. }
  2724. // -----------------------------------------------------------------------------------------------------------
  2725. template <> size_t GenericFill<IfcConstructionProductResource>(const DB& db, const LIST& params, IfcConstructionProductResource* in)
  2726. {
  2727. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2728. // this data structure is not used yet, so there is no code generated to fill its members
  2729. return base;
  2730. }
  2731. // -----------------------------------------------------------------------------------------------------------
  2732. template <> size_t GenericFill<IfcConstructionProductResourceType>(const DB& db, const LIST& params, IfcConstructionProductResourceType* in)
  2733. {
  2734. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2735. // this data structure is not used yet, so there is no code generated to fill its members
  2736. return base;
  2737. }
  2738. // -----------------------------------------------------------------------------------------------------------
  2739. template <> size_t GenericFill<IfcContext>(const DB& db, const LIST& params, IfcContext* in)
  2740. {
  2741. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  2742. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcContext"); } do { // convert the 'ObjectType' argument
  2743. boost::shared_ptr<const DataType> arg = params[base++];
  2744. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[0]=true; break; }
  2745. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2746. try { GenericConvert( in->ObjectType, arg, db ); break; }
  2747. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcContext to be a `IfcLabel`")); }
  2748. } while(0);
  2749. do { // convert the 'LongName' argument
  2750. boost::shared_ptr<const DataType> arg = params[base++];
  2751. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[1]=true; break; }
  2752. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2753. try { GenericConvert( in->LongName, arg, db ); break; }
  2754. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcContext to be a `IfcLabel`")); }
  2755. } while(0);
  2756. do { // convert the 'Phase' argument
  2757. boost::shared_ptr<const DataType> arg = params[base++];
  2758. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[2]=true; break; }
  2759. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2760. try { GenericConvert( in->Phase, arg, db ); break; }
  2761. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcContext to be a `IfcLabel`")); }
  2762. } while(0);
  2763. do { // convert the 'RepresentationContexts' argument
  2764. boost::shared_ptr<const DataType> arg = params[base++];
  2765. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[3]=true; break; }
  2766. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2767. try { GenericConvert( in->RepresentationContexts, arg, db ); break; }
  2768. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcContext to be a `SET [1:?] OF IfcRepresentationContext`")); }
  2769. } while(0);
  2770. do { // convert the 'UnitsInContext' argument
  2771. boost::shared_ptr<const DataType> arg = params[base++];
  2772. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[4]=true; break; }
  2773. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2774. try { GenericConvert( in->UnitsInContext, arg, db ); break; }
  2775. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcContext to be a `IfcUnitAssignment`")); }
  2776. } while(0);
  2777. return base;
  2778. }
  2779. // -----------------------------------------------------------------------------------------------------------
  2780. template <> size_t GenericFill<IfcNamedUnit>(const DB& db, const LIST& params, IfcNamedUnit* in)
  2781. {
  2782. size_t base = 0;
  2783. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcNamedUnit"); } do { // convert the 'Dimensions' argument
  2784. boost::shared_ptr<const DataType> arg = params[base++];
  2785. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[0]=true; break; }
  2786. try { GenericConvert( in->Dimensions, arg, db ); break; }
  2787. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcNamedUnit to be a `IfcDimensionalExponents`")); }
  2788. } while(0);
  2789. do { // convert the 'UnitType' argument
  2790. boost::shared_ptr<const DataType> arg = params[base++];
  2791. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[1]=true; break; }
  2792. try { GenericConvert( in->UnitType, arg, db ); break; }
  2793. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcNamedUnit to be a `IfcUnitEnum`")); }
  2794. } while(0);
  2795. return base;
  2796. }
  2797. // -----------------------------------------------------------------------------------------------------------
  2798. template <> size_t GenericFill<IfcContextDependentUnit>(const DB& db, const LIST& params, IfcContextDependentUnit* in)
  2799. {
  2800. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2801. // this data structure is not used yet, so there is no code generated to fill its members
  2802. return base;
  2803. }
  2804. // -----------------------------------------------------------------------------------------------------------
  2805. template <> size_t GenericFill<IfcController>(const DB& db, const LIST& params, IfcController* in)
  2806. {
  2807. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  2808. // this data structure is not used yet, so there is no code generated to fill its members
  2809. return base;
  2810. }
  2811. // -----------------------------------------------------------------------------------------------------------
  2812. template <> size_t GenericFill<IfcControllerType>(const DB& db, const LIST& params, IfcControllerType* in)
  2813. {
  2814. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  2815. // this data structure is not used yet, so there is no code generated to fill its members
  2816. return base;
  2817. }
  2818. // -----------------------------------------------------------------------------------------------------------
  2819. template <> size_t GenericFill<IfcConversionBasedUnit>(const DB& db, const LIST& params, IfcConversionBasedUnit* in)
  2820. {
  2821. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2822. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcConversionBasedUnit"); } do { // convert the 'Name' argument
  2823. boost::shared_ptr<const DataType> arg = params[base++];
  2824. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConversionBasedUnit,2>::aux_is_derived[0]=true; break; }
  2825. try { GenericConvert( in->Name, arg, db ); break; }
  2826. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcConversionBasedUnit to be a `IfcLabel`")); }
  2827. } while(0);
  2828. do { // convert the 'ConversionFactor' argument
  2829. boost::shared_ptr<const DataType> arg = params[base++];
  2830. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConversionBasedUnit,2>::aux_is_derived[1]=true; break; }
  2831. try { GenericConvert( in->ConversionFactor, arg, db ); break; }
  2832. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcConversionBasedUnit to be a `IfcMeasureWithUnit`")); }
  2833. } while(0);
  2834. return base;
  2835. }
  2836. // -----------------------------------------------------------------------------------------------------------
  2837. template <> size_t GenericFill<IfcConversionBasedUnitWithOffset>(const DB& db, const LIST& params, IfcConversionBasedUnitWithOffset* in)
  2838. {
  2839. size_t base = GenericFill(db,params,static_cast<IfcConversionBasedUnit*>(in));
  2840. // this data structure is not used yet, so there is no code generated to fill its members
  2841. return base;
  2842. }
  2843. // -----------------------------------------------------------------------------------------------------------
  2844. template <> size_t GenericFill<IfcCooledBeam>(const DB& db, const LIST& params, IfcCooledBeam* in)
  2845. {
  2846. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2847. // this data structure is not used yet, so there is no code generated to fill its members
  2848. return base;
  2849. }
  2850. // -----------------------------------------------------------------------------------------------------------
  2851. template <> size_t GenericFill<IfcCooledBeamType>(const DB& db, const LIST& params, IfcCooledBeamType* in)
  2852. {
  2853. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2854. // this data structure is not used yet, so there is no code generated to fill its members
  2855. return base;
  2856. }
  2857. // -----------------------------------------------------------------------------------------------------------
  2858. template <> size_t GenericFill<IfcCoolingTower>(const DB& db, const LIST& params, IfcCoolingTower* in)
  2859. {
  2860. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2861. // this data structure is not used yet, so there is no code generated to fill its members
  2862. return base;
  2863. }
  2864. // -----------------------------------------------------------------------------------------------------------
  2865. template <> size_t GenericFill<IfcCoolingTowerType>(const DB& db, const LIST& params, IfcCoolingTowerType* in)
  2866. {
  2867. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2868. // this data structure is not used yet, so there is no code generated to fill its members
  2869. return base;
  2870. }
  2871. // -----------------------------------------------------------------------------------------------------------
  2872. template <> size_t GenericFill<IfcCostItem>(const DB& db, const LIST& params, IfcCostItem* in)
  2873. {
  2874. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2875. // this data structure is not used yet, so there is no code generated to fill its members
  2876. return base;
  2877. }
  2878. // -----------------------------------------------------------------------------------------------------------
  2879. template <> size_t GenericFill<IfcCostSchedule>(const DB& db, const LIST& params, IfcCostSchedule* in)
  2880. {
  2881. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2882. // this data structure is not used yet, so there is no code generated to fill its members
  2883. return base;
  2884. }
  2885. // -----------------------------------------------------------------------------------------------------------
  2886. template <> size_t GenericFill<IfcCovering>(const DB& db, const LIST& params, IfcCovering* in)
  2887. {
  2888. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2889. // this data structure is not used yet, so there is no code generated to fill its members
  2890. return base;
  2891. }
  2892. // -----------------------------------------------------------------------------------------------------------
  2893. template <> size_t GenericFill<IfcCoveringType>(const DB& db, const LIST& params, IfcCoveringType* in)
  2894. {
  2895. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2896. // this data structure is not used yet, so there is no code generated to fill its members
  2897. return base;
  2898. }
  2899. // -----------------------------------------------------------------------------------------------------------
  2900. template <> size_t GenericFill<IfcCrewResource>(const DB& db, const LIST& params, IfcCrewResource* in)
  2901. {
  2902. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2903. // this data structure is not used yet, so there is no code generated to fill its members
  2904. return base;
  2905. }
  2906. // -----------------------------------------------------------------------------------------------------------
  2907. template <> size_t GenericFill<IfcCrewResourceType>(const DB& db, const LIST& params, IfcCrewResourceType* in)
  2908. {
  2909. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2910. // this data structure is not used yet, so there is no code generated to fill its members
  2911. return base;
  2912. }
  2913. // -----------------------------------------------------------------------------------------------------------
  2914. template <> size_t GenericFill<IfcCsgSolid>(const DB& db, const LIST& params, IfcCsgSolid* in)
  2915. {
  2916. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2917. // this data structure is not used yet, so there is no code generated to fill its members
  2918. return base;
  2919. }
  2920. // -----------------------------------------------------------------------------------------------------------
  2921. template <> size_t GenericFill<IfcCurtainWall>(const DB& db, const LIST& params, IfcCurtainWall* in)
  2922. {
  2923. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2924. // this data structure is not used yet, so there is no code generated to fill its members
  2925. return base;
  2926. }
  2927. // -----------------------------------------------------------------------------------------------------------
  2928. template <> size_t GenericFill<IfcCurtainWallType>(const DB& db, const LIST& params, IfcCurtainWallType* in)
  2929. {
  2930. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2931. // this data structure is not used yet, so there is no code generated to fill its members
  2932. return base;
  2933. }
  2934. // -----------------------------------------------------------------------------------------------------------
  2935. template <> size_t GenericFill<IfcCurveBoundedPlane>(const DB& db, const LIST& params, IfcCurveBoundedPlane* in)
  2936. {
  2937. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  2938. // this data structure is not used yet, so there is no code generated to fill its members
  2939. return base;
  2940. }
  2941. // -----------------------------------------------------------------------------------------------------------
  2942. template <> size_t GenericFill<IfcCurveBoundedSurface>(const DB& db, const LIST& params, IfcCurveBoundedSurface* in)
  2943. {
  2944. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  2945. // this data structure is not used yet, so there is no code generated to fill its members
  2946. return base;
  2947. }
  2948. // -----------------------------------------------------------------------------------------------------------
  2949. template <> size_t GenericFill<IfcPresentationStyle>(const DB& db, const LIST& params, IfcPresentationStyle* in)
  2950. {
  2951. size_t base = 0;
  2952. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyle"); } do { // convert the 'Name' argument
  2953. boost::shared_ptr<const DataType> arg = params[base++];
  2954. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPresentationStyle,1>::aux_is_derived[0]=true; break; }
  2955. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2956. try { GenericConvert( in->Name, arg, db ); break; }
  2957. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyle to be a `IfcLabel`")); }
  2958. } while(0);
  2959. return base;
  2960. }
  2961. // -----------------------------------------------------------------------------------------------------------
  2962. template <> size_t GenericFill<IfcElementarySurface>(const DB& db, const LIST& params, IfcElementarySurface* in)
  2963. {
  2964. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  2965. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcElementarySurface"); } do { // convert the 'Position' argument
  2966. boost::shared_ptr<const DataType> arg = params[base++];
  2967. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElementarySurface,1>::aux_is_derived[0]=true; break; }
  2968. try { GenericConvert( in->Position, arg, db ); break; }
  2969. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcElementarySurface to be a `IfcAxis2Placement3D`")); }
  2970. } while(0);
  2971. return base;
  2972. }
  2973. // -----------------------------------------------------------------------------------------------------------
  2974. template <> size_t GenericFill<IfcCylindricalSurface>(const DB& db, const LIST& params, IfcCylindricalSurface* in)
  2975. {
  2976. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  2977. // this data structure is not used yet, so there is no code generated to fill its members
  2978. return base;
  2979. }
  2980. // -----------------------------------------------------------------------------------------------------------
  2981. template <> size_t GenericFill<IfcDamper>(const DB& db, const LIST& params, IfcDamper* in)
  2982. {
  2983. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  2984. // this data structure is not used yet, so there is no code generated to fill its members
  2985. return base;
  2986. }
  2987. // -----------------------------------------------------------------------------------------------------------
  2988. template <> size_t GenericFill<IfcDamperType>(const DB& db, const LIST& params, IfcDamperType* in)
  2989. {
  2990. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2991. // this data structure is not used yet, so there is no code generated to fill its members
  2992. return base;
  2993. }
  2994. // -----------------------------------------------------------------------------------------------------------
  2995. template <> size_t GenericFill<IfcDerivedProfileDef>(const DB& db, const LIST& params, IfcDerivedProfileDef* in)
  2996. {
  2997. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2998. // this data structure is not used yet, so there is no code generated to fill its members
  2999. return base;
  3000. }
  3001. // -----------------------------------------------------------------------------------------------------------
  3002. template <> size_t GenericFill<IfcDirection>(const DB& db, const LIST& params, IfcDirection* in)
  3003. {
  3004. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3005. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcDirection"); } do { // convert the 'DirectionRatios' argument
  3006. boost::shared_ptr<const DataType> arg = params[base++];
  3007. try { GenericConvert( in->DirectionRatios, arg, db ); break; }
  3008. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcDirection to be a `LIST [2:3] OF IfcReal`")); }
  3009. } while(0);
  3010. return base;
  3011. }
  3012. // -----------------------------------------------------------------------------------------------------------
  3013. template <> size_t GenericFill<IfcDiscreteAccessory>(const DB& db, const LIST& params, IfcDiscreteAccessory* in)
  3014. {
  3015. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3016. // this data structure is not used yet, so there is no code generated to fill its members
  3017. return base;
  3018. }
  3019. // -----------------------------------------------------------------------------------------------------------
  3020. template <> size_t GenericFill<IfcDiscreteAccessoryType>(const DB& db, const LIST& params, IfcDiscreteAccessoryType* in)
  3021. {
  3022. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3023. // this data structure is not used yet, so there is no code generated to fill its members
  3024. return base;
  3025. }
  3026. // -----------------------------------------------------------------------------------------------------------
  3027. template <> size_t GenericFill<IfcDistributionChamberElement>(const DB& db, const LIST& params, IfcDistributionChamberElement* in)
  3028. {
  3029. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3030. // this data structure is not used yet, so there is no code generated to fill its members
  3031. return base;
  3032. }
  3033. // -----------------------------------------------------------------------------------------------------------
  3034. template <> size_t GenericFill<IfcDistributionChamberElementType>(const DB& db, const LIST& params, IfcDistributionChamberElementType* in)
  3035. {
  3036. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3037. // this data structure is not used yet, so there is no code generated to fill its members
  3038. return base;
  3039. }
  3040. // -----------------------------------------------------------------------------------------------------------
  3041. template <> size_t GenericFill<IfcDistributionSystem>(const DB& db, const LIST& params, IfcDistributionSystem* in)
  3042. {
  3043. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  3044. // this data structure is not used yet, so there is no code generated to fill its members
  3045. return base;
  3046. }
  3047. // -----------------------------------------------------------------------------------------------------------
  3048. template <> size_t GenericFill<IfcDistributionCircuit>(const DB& db, const LIST& params, IfcDistributionCircuit* in)
  3049. {
  3050. size_t base = GenericFill(db,params,static_cast<IfcDistributionSystem*>(in));
  3051. // this data structure is not used yet, so there is no code generated to fill its members
  3052. return base;
  3053. }
  3054. // -----------------------------------------------------------------------------------------------------------
  3055. template <> size_t GenericFill<IfcPort>(const DB& db, const LIST& params, IfcPort* in)
  3056. {
  3057. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  3058. // this data structure is not used yet, so there is no code generated to fill its members
  3059. return base;
  3060. }
  3061. // -----------------------------------------------------------------------------------------------------------
  3062. template <> size_t GenericFill<IfcDistributionPort>(const DB& db, const LIST& params, IfcDistributionPort* in)
  3063. {
  3064. size_t base = GenericFill(db,params,static_cast<IfcPort*>(in));
  3065. // this data structure is not used yet, so there is no code generated to fill its members
  3066. return base;
  3067. }
  3068. // -----------------------------------------------------------------------------------------------------------
  3069. template <> size_t GenericFill<IfcDoor>(const DB& db, const LIST& params, IfcDoor* in)
  3070. {
  3071. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3072. if (params.GetSize() < 13) { throw STEP::TypeError("expected 13 arguments to IfcDoor"); } do { // convert the 'OverallHeight' argument
  3073. boost::shared_ptr<const DataType> arg = params[base++];
  3074. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[0]=true; break; }
  3075. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3076. try { GenericConvert( in->OverallHeight, arg, db ); break; }
  3077. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  3078. } while(0);
  3079. do { // convert the 'OverallWidth' argument
  3080. boost::shared_ptr<const DataType> arg = params[base++];
  3081. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[1]=true; break; }
  3082. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3083. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  3084. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  3085. } while(0);
  3086. do { // convert the 'PredefinedType' argument
  3087. boost::shared_ptr<const DataType> arg = params[base++];
  3088. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[2]=true; break; }
  3089. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3090. try { GenericConvert( in->PredefinedType, arg, db ); break; }
  3091. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcDoor to be a `IfcDoorTypeEnum`")); }
  3092. } while(0);
  3093. do { // convert the 'OperationType' argument
  3094. boost::shared_ptr<const DataType> arg = params[base++];
  3095. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[3]=true; break; }
  3096. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3097. try { GenericConvert( in->OperationType, arg, db ); break; }
  3098. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcDoor to be a `IfcDoorTypeOperationEnum`")); }
  3099. } while(0);
  3100. do { // convert the 'UserDefinedOperationType' argument
  3101. boost::shared_ptr<const DataType> arg = params[base++];
  3102. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[4]=true; break; }
  3103. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3104. try { GenericConvert( in->UserDefinedOperationType, arg, db ); break; }
  3105. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcDoor to be a `IfcLabel`")); }
  3106. } while(0);
  3107. return base;
  3108. }
  3109. // -----------------------------------------------------------------------------------------------------------
  3110. template <> size_t GenericFill<IfcPropertySetDefinition>(const DB& db, const LIST& params, IfcPropertySetDefinition* in)
  3111. {
  3112. size_t base = GenericFill(db,params,static_cast<IfcPropertyDefinition*>(in));
  3113. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertySetDefinition"); } return base;
  3114. }
  3115. // -----------------------------------------------------------------------------------------------------------
  3116. template <> size_t GenericFill<IfcDoorStandardCase>(const DB& db, const LIST& params, IfcDoorStandardCase* in)
  3117. {
  3118. size_t base = GenericFill(db,params,static_cast<IfcDoor*>(in));
  3119. // this data structure is not used yet, so there is no code generated to fill its members
  3120. return base;
  3121. }
  3122. // -----------------------------------------------------------------------------------------------------------
  3123. template <> size_t GenericFill<IfcDoorStyle>(const DB& db, const LIST& params, IfcDoorStyle* in)
  3124. {
  3125. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  3126. // this data structure is not used yet, so there is no code generated to fill its members
  3127. return base;
  3128. }
  3129. // -----------------------------------------------------------------------------------------------------------
  3130. template <> size_t GenericFill<IfcDoorType>(const DB& db, const LIST& params, IfcDoorType* in)
  3131. {
  3132. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3133. // this data structure is not used yet, so there is no code generated to fill its members
  3134. return base;
  3135. }
  3136. // -----------------------------------------------------------------------------------------------------------
  3137. template <> size_t GenericFill<IfcDuctFitting>(const DB& db, const LIST& params, IfcDuctFitting* in)
  3138. {
  3139. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  3140. // this data structure is not used yet, so there is no code generated to fill its members
  3141. return base;
  3142. }
  3143. // -----------------------------------------------------------------------------------------------------------
  3144. template <> size_t GenericFill<IfcDuctFittingType>(const DB& db, const LIST& params, IfcDuctFittingType* in)
  3145. {
  3146. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3147. // this data structure is not used yet, so there is no code generated to fill its members
  3148. return base;
  3149. }
  3150. // -----------------------------------------------------------------------------------------------------------
  3151. template <> size_t GenericFill<IfcDuctSegment>(const DB& db, const LIST& params, IfcDuctSegment* in)
  3152. {
  3153. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  3154. // this data structure is not used yet, so there is no code generated to fill its members
  3155. return base;
  3156. }
  3157. // -----------------------------------------------------------------------------------------------------------
  3158. template <> size_t GenericFill<IfcDuctSegmentType>(const DB& db, const LIST& params, IfcDuctSegmentType* in)
  3159. {
  3160. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3161. // this data structure is not used yet, so there is no code generated to fill its members
  3162. return base;
  3163. }
  3164. // -----------------------------------------------------------------------------------------------------------
  3165. template <> size_t GenericFill<IfcFlowTreatmentDevice>(const DB& db, const LIST& params, IfcFlowTreatmentDevice* in)
  3166. {
  3167. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3168. // this data structure is not used yet, so there is no code generated to fill its members
  3169. return base;
  3170. }
  3171. // -----------------------------------------------------------------------------------------------------------
  3172. template <> size_t GenericFill<IfcDuctSilencer>(const DB& db, const LIST& params, IfcDuctSilencer* in)
  3173. {
  3174. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDevice*>(in));
  3175. // this data structure is not used yet, so there is no code generated to fill its members
  3176. return base;
  3177. }
  3178. // -----------------------------------------------------------------------------------------------------------
  3179. template <> size_t GenericFill<IfcFlowTreatmentDeviceType>(const DB& db, const LIST& params, IfcFlowTreatmentDeviceType* in)
  3180. {
  3181. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3182. // this data structure is not used yet, so there is no code generated to fill its members
  3183. return base;
  3184. }
  3185. // -----------------------------------------------------------------------------------------------------------
  3186. template <> size_t GenericFill<IfcDuctSilencerType>(const DB& db, const LIST& params, IfcDuctSilencerType* in)
  3187. {
  3188. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3189. // this data structure is not used yet, so there is no code generated to fill its members
  3190. return base;
  3191. }
  3192. // -----------------------------------------------------------------------------------------------------------
  3193. template <> size_t GenericFill<IfcEdge>(const DB& db, const LIST& params, IfcEdge* in)
  3194. {
  3195. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3196. // this data structure is not used yet, so there is no code generated to fill its members
  3197. return base;
  3198. }
  3199. // -----------------------------------------------------------------------------------------------------------
  3200. template <> size_t GenericFill<IfcEdgeCurve>(const DB& db, const LIST& params, IfcEdgeCurve* in)
  3201. {
  3202. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  3203. // this data structure is not used yet, so there is no code generated to fill its members
  3204. return base;
  3205. }
  3206. // -----------------------------------------------------------------------------------------------------------
  3207. template <> size_t GenericFill<IfcLoop>(const DB& db, const LIST& params, IfcLoop* in)
  3208. {
  3209. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3210. return base;
  3211. }
  3212. // -----------------------------------------------------------------------------------------------------------
  3213. template <> size_t GenericFill<IfcEdgeLoop>(const DB& db, const LIST& params, IfcEdgeLoop* in)
  3214. {
  3215. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3216. // this data structure is not used yet, so there is no code generated to fill its members
  3217. return base;
  3218. }
  3219. // -----------------------------------------------------------------------------------------------------------
  3220. template <> size_t GenericFill<IfcElectricAppliance>(const DB& db, const LIST& params, IfcElectricAppliance* in)
  3221. {
  3222. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  3223. // this data structure is not used yet, so there is no code generated to fill its members
  3224. return base;
  3225. }
  3226. // -----------------------------------------------------------------------------------------------------------
  3227. template <> size_t GenericFill<IfcElectricApplianceType>(const DB& db, const LIST& params, IfcElectricApplianceType* in)
  3228. {
  3229. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3230. // this data structure is not used yet, so there is no code generated to fill its members
  3231. return base;
  3232. }
  3233. // -----------------------------------------------------------------------------------------------------------
  3234. template <> size_t GenericFill<IfcElectricDistributionBoard>(const DB& db, const LIST& params, IfcElectricDistributionBoard* in)
  3235. {
  3236. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  3237. // this data structure is not used yet, so there is no code generated to fill its members
  3238. return base;
  3239. }
  3240. // -----------------------------------------------------------------------------------------------------------
  3241. template <> size_t GenericFill<IfcElectricDistributionBoardType>(const DB& db, const LIST& params, IfcElectricDistributionBoardType* in)
  3242. {
  3243. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3244. // this data structure is not used yet, so there is no code generated to fill its members
  3245. return base;
  3246. }
  3247. // -----------------------------------------------------------------------------------------------------------
  3248. template <> size_t GenericFill<IfcFlowStorageDevice>(const DB& db, const LIST& params, IfcFlowStorageDevice* in)
  3249. {
  3250. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3251. // this data structure is not used yet, so there is no code generated to fill its members
  3252. return base;
  3253. }
  3254. // -----------------------------------------------------------------------------------------------------------
  3255. template <> size_t GenericFill<IfcElectricFlowStorageDevice>(const DB& db, const LIST& params, IfcElectricFlowStorageDevice* in)
  3256. {
  3257. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDevice*>(in));
  3258. // this data structure is not used yet, so there is no code generated to fill its members
  3259. return base;
  3260. }
  3261. // -----------------------------------------------------------------------------------------------------------
  3262. template <> size_t GenericFill<IfcFlowStorageDeviceType>(const DB& db, const LIST& params, IfcFlowStorageDeviceType* in)
  3263. {
  3264. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3265. // this data structure is not used yet, so there is no code generated to fill its members
  3266. return base;
  3267. }
  3268. // -----------------------------------------------------------------------------------------------------------
  3269. template <> size_t GenericFill<IfcElectricFlowStorageDeviceType>(const DB& db, const LIST& params, IfcElectricFlowStorageDeviceType* in)
  3270. {
  3271. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  3272. // this data structure is not used yet, so there is no code generated to fill its members
  3273. return base;
  3274. }
  3275. // -----------------------------------------------------------------------------------------------------------
  3276. template <> size_t GenericFill<IfcElectricGenerator>(const DB& db, const LIST& params, IfcElectricGenerator* in)
  3277. {
  3278. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3279. // this data structure is not used yet, so there is no code generated to fill its members
  3280. return base;
  3281. }
  3282. // -----------------------------------------------------------------------------------------------------------
  3283. template <> size_t GenericFill<IfcElectricGeneratorType>(const DB& db, const LIST& params, IfcElectricGeneratorType* in)
  3284. {
  3285. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3286. // this data structure is not used yet, so there is no code generated to fill its members
  3287. return base;
  3288. }
  3289. // -----------------------------------------------------------------------------------------------------------
  3290. template <> size_t GenericFill<IfcElectricMotor>(const DB& db, const LIST& params, IfcElectricMotor* in)
  3291. {
  3292. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3293. // this data structure is not used yet, so there is no code generated to fill its members
  3294. return base;
  3295. }
  3296. // -----------------------------------------------------------------------------------------------------------
  3297. template <> size_t GenericFill<IfcElectricMotorType>(const DB& db, const LIST& params, IfcElectricMotorType* in)
  3298. {
  3299. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3300. // this data structure is not used yet, so there is no code generated to fill its members
  3301. return base;
  3302. }
  3303. // -----------------------------------------------------------------------------------------------------------
  3304. template <> size_t GenericFill<IfcElectricTimeControl>(const DB& db, const LIST& params, IfcElectricTimeControl* in)
  3305. {
  3306. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  3307. // this data structure is not used yet, so there is no code generated to fill its members
  3308. return base;
  3309. }
  3310. // -----------------------------------------------------------------------------------------------------------
  3311. template <> size_t GenericFill<IfcElectricTimeControlType>(const DB& db, const LIST& params, IfcElectricTimeControlType* in)
  3312. {
  3313. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3314. // this data structure is not used yet, so there is no code generated to fill its members
  3315. return base;
  3316. }
  3317. // -----------------------------------------------------------------------------------------------------------
  3318. template <> size_t GenericFill<IfcElementAssembly>(const DB& db, const LIST& params, IfcElementAssembly* in)
  3319. {
  3320. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3321. // this data structure is not used yet, so there is no code generated to fill its members
  3322. return base;
  3323. }
  3324. // -----------------------------------------------------------------------------------------------------------
  3325. template <> size_t GenericFill<IfcElementAssemblyType>(const DB& db, const LIST& params, IfcElementAssemblyType* in)
  3326. {
  3327. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3328. // this data structure is not used yet, so there is no code generated to fill its members
  3329. return base;
  3330. }
  3331. // -----------------------------------------------------------------------------------------------------------
  3332. template <> size_t GenericFill<IfcQuantitySet>(const DB& db, const LIST& params, IfcQuantitySet* in)
  3333. {
  3334. size_t base = GenericFill(db,params,static_cast<IfcPropertySetDefinition*>(in));
  3335. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcQuantitySet"); } return base;
  3336. }
  3337. // -----------------------------------------------------------------------------------------------------------
  3338. template <> size_t GenericFill<IfcElementQuantity>(const DB& db, const LIST& params, IfcElementQuantity* in)
  3339. {
  3340. size_t base = GenericFill(db,params,static_cast<IfcQuantitySet*>(in));
  3341. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcElementQuantity"); } do { // convert the 'MethodOfMeasurement' argument
  3342. boost::shared_ptr<const DataType> arg = params[base++];
  3343. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3344. try { GenericConvert( in->MethodOfMeasurement, arg, db ); break; }
  3345. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcElementQuantity to be a `IfcLabel`")); }
  3346. } while(0);
  3347. do { // convert the 'Quantities' argument
  3348. boost::shared_ptr<const DataType> arg = params[base++];
  3349. try { GenericConvert( in->Quantities, arg, db ); break; }
  3350. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcElementQuantity to be a `SET [1:?] OF IfcPhysicalQuantity`")); }
  3351. } while(0);
  3352. return base;
  3353. }
  3354. // -----------------------------------------------------------------------------------------------------------
  3355. template <> size_t GenericFill<IfcEllipse>(const DB& db, const LIST& params, IfcEllipse* in)
  3356. {
  3357. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  3358. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcEllipse"); } do { // convert the 'SemiAxis1' argument
  3359. boost::shared_ptr<const DataType> arg = params[base++];
  3360. try { GenericConvert( in->SemiAxis1, arg, db ); break; }
  3361. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  3362. } while(0);
  3363. do { // convert the 'SemiAxis2' argument
  3364. boost::shared_ptr<const DataType> arg = params[base++];
  3365. try { GenericConvert( in->SemiAxis2, arg, db ); break; }
  3366. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  3367. } while(0);
  3368. return base;
  3369. }
  3370. // -----------------------------------------------------------------------------------------------------------
  3371. template <> size_t GenericFill<IfcEllipseProfileDef>(const DB& db, const LIST& params, IfcEllipseProfileDef* in)
  3372. {
  3373. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3374. // this data structure is not used yet, so there is no code generated to fill its members
  3375. return base;
  3376. }
  3377. // -----------------------------------------------------------------------------------------------------------
  3378. template <> size_t GenericFill<IfcEngine>(const DB& db, const LIST& params, IfcEngine* in)
  3379. {
  3380. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3381. // this data structure is not used yet, so there is no code generated to fill its members
  3382. return base;
  3383. }
  3384. // -----------------------------------------------------------------------------------------------------------
  3385. template <> size_t GenericFill<IfcEngineType>(const DB& db, const LIST& params, IfcEngineType* in)
  3386. {
  3387. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3388. // this data structure is not used yet, so there is no code generated to fill its members
  3389. return base;
  3390. }
  3391. // -----------------------------------------------------------------------------------------------------------
  3392. template <> size_t GenericFill<IfcEvaporativeCooler>(const DB& db, const LIST& params, IfcEvaporativeCooler* in)
  3393. {
  3394. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3395. // this data structure is not used yet, so there is no code generated to fill its members
  3396. return base;
  3397. }
  3398. // -----------------------------------------------------------------------------------------------------------
  3399. template <> size_t GenericFill<IfcEvaporativeCoolerType>(const DB& db, const LIST& params, IfcEvaporativeCoolerType* in)
  3400. {
  3401. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3402. // this data structure is not used yet, so there is no code generated to fill its members
  3403. return base;
  3404. }
  3405. // -----------------------------------------------------------------------------------------------------------
  3406. template <> size_t GenericFill<IfcEvaporator>(const DB& db, const LIST& params, IfcEvaporator* in)
  3407. {
  3408. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3409. // this data structure is not used yet, so there is no code generated to fill its members
  3410. return base;
  3411. }
  3412. // -----------------------------------------------------------------------------------------------------------
  3413. template <> size_t GenericFill<IfcEvaporatorType>(const DB& db, const LIST& params, IfcEvaporatorType* in)
  3414. {
  3415. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3416. // this data structure is not used yet, so there is no code generated to fill its members
  3417. return base;
  3418. }
  3419. // -----------------------------------------------------------------------------------------------------------
  3420. template <> size_t GenericFill<IfcProcess>(const DB& db, const LIST& params, IfcProcess* in)
  3421. {
  3422. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3423. // this data structure is not used yet, so there is no code generated to fill its members
  3424. return base;
  3425. }
  3426. // -----------------------------------------------------------------------------------------------------------
  3427. template <> size_t GenericFill<IfcEvent>(const DB& db, const LIST& params, IfcEvent* in)
  3428. {
  3429. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  3430. // this data structure is not used yet, so there is no code generated to fill its members
  3431. return base;
  3432. }
  3433. // -----------------------------------------------------------------------------------------------------------
  3434. template <> size_t GenericFill<IfcTypeProcess>(const DB& db, const LIST& params, IfcTypeProcess* in)
  3435. {
  3436. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  3437. // this data structure is not used yet, so there is no code generated to fill its members
  3438. return base;
  3439. }
  3440. // -----------------------------------------------------------------------------------------------------------
  3441. template <> size_t GenericFill<IfcEventType>(const DB& db, const LIST& params, IfcEventType* in)
  3442. {
  3443. size_t base = GenericFill(db,params,static_cast<IfcTypeProcess*>(in));
  3444. // this data structure is not used yet, so there is no code generated to fill its members
  3445. return base;
  3446. }
  3447. // -----------------------------------------------------------------------------------------------------------
  3448. template <> size_t GenericFill<IfcExternalSpatialStructureElement>(const DB& db, const LIST& params, IfcExternalSpatialStructureElement* in)
  3449. {
  3450. size_t base = GenericFill(db,params,static_cast<IfcSpatialElement*>(in));
  3451. // this data structure is not used yet, so there is no code generated to fill its members
  3452. return base;
  3453. }
  3454. // -----------------------------------------------------------------------------------------------------------
  3455. template <> size_t GenericFill<IfcExternalSpatialElement>(const DB& db, const LIST& params, IfcExternalSpatialElement* in)
  3456. {
  3457. size_t base = GenericFill(db,params,static_cast<IfcExternalSpatialStructureElement*>(in));
  3458. // this data structure is not used yet, so there is no code generated to fill its members
  3459. return base;
  3460. }
  3461. // -----------------------------------------------------------------------------------------------------------
  3462. template <> size_t GenericFill<IfcSweptAreaSolid>(const DB& db, const LIST& params, IfcSweptAreaSolid* in)
  3463. {
  3464. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  3465. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSweptAreaSolid"); } do { // convert the 'SweptArea' argument
  3466. boost::shared_ptr<const DataType> arg = params[base++];
  3467. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[0]=true; break; }
  3468. try { GenericConvert( in->SweptArea, arg, db ); break; }
  3469. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptAreaSolid to be a `IfcProfileDef`")); }
  3470. } while(0);
  3471. do { // convert the 'Position' argument
  3472. boost::shared_ptr<const DataType> arg = params[base++];
  3473. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[1]=true; break; }
  3474. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3475. try { GenericConvert( in->Position, arg, db ); break; }
  3476. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptAreaSolid to be a `IfcAxis2Placement3D`")); }
  3477. } while(0);
  3478. return base;
  3479. }
  3480. // -----------------------------------------------------------------------------------------------------------
  3481. template <> size_t GenericFill<IfcExtrudedAreaSolid>(const DB& db, const LIST& params, IfcExtrudedAreaSolid* in)
  3482. {
  3483. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  3484. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcExtrudedAreaSolid"); } do { // convert the 'ExtrudedDirection' argument
  3485. boost::shared_ptr<const DataType> arg = params[base++];
  3486. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcExtrudedAreaSolid,2>::aux_is_derived[0]=true; break; }
  3487. try { GenericConvert( in->ExtrudedDirection, arg, db ); break; }
  3488. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcExtrudedAreaSolid to be a `IfcDirection`")); }
  3489. } while(0);
  3490. do { // convert the 'Depth' argument
  3491. boost::shared_ptr<const DataType> arg = params[base++];
  3492. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcExtrudedAreaSolid,2>::aux_is_derived[1]=true; break; }
  3493. try { GenericConvert( in->Depth, arg, db ); break; }
  3494. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcExtrudedAreaSolid to be a `IfcPositiveLengthMeasure`")); }
  3495. } while(0);
  3496. return base;
  3497. }
  3498. // -----------------------------------------------------------------------------------------------------------
  3499. template <> size_t GenericFill<IfcExtrudedAreaSolidTapered>(const DB& db, const LIST& params, IfcExtrudedAreaSolidTapered* in)
  3500. {
  3501. size_t base = GenericFill(db,params,static_cast<IfcExtrudedAreaSolid*>(in));
  3502. // this data structure is not used yet, so there is no code generated to fill its members
  3503. return base;
  3504. }
  3505. // -----------------------------------------------------------------------------------------------------------
  3506. template <> size_t GenericFill<IfcFaceBasedSurfaceModel>(const DB& db, const LIST& params, IfcFaceBasedSurfaceModel* in)
  3507. {
  3508. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3509. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFaceBasedSurfaceModel"); } do { // convert the 'FbsmFaces' argument
  3510. boost::shared_ptr<const DataType> arg = params[base++];
  3511. try { GenericConvert( in->FbsmFaces, arg, db ); break; }
  3512. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBasedSurfaceModel to be a `SET [1:?] OF IfcConnectedFaceSet`")); }
  3513. } while(0);
  3514. return base;
  3515. }
  3516. // -----------------------------------------------------------------------------------------------------------
  3517. template <> size_t GenericFill<IfcFaceBound>(const DB& db, const LIST& params, IfcFaceBound* in)
  3518. {
  3519. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3520. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceBound"); } do { // convert the 'Bound' argument
  3521. boost::shared_ptr<const DataType> arg = params[base++];
  3522. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[0]=true; break; }
  3523. try { GenericConvert( in->Bound, arg, db ); break; }
  3524. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBound to be a `IfcLoop`")); }
  3525. } while(0);
  3526. do { // convert the 'Orientation' argument
  3527. boost::shared_ptr<const DataType> arg = params[base++];
  3528. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[1]=true; break; }
  3529. try { GenericConvert( in->Orientation, arg, db ); break; }
  3530. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcFaceBound to be a `IfcBoolean`")); }
  3531. } while(0);
  3532. return base;
  3533. }
  3534. // -----------------------------------------------------------------------------------------------------------
  3535. template <> size_t GenericFill<IfcFaceOuterBound>(const DB& db, const LIST& params, IfcFaceOuterBound* in)
  3536. {
  3537. size_t base = GenericFill(db,params,static_cast<IfcFaceBound*>(in));
  3538. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceOuterBound"); } return base;
  3539. }
  3540. // -----------------------------------------------------------------------------------------------------------
  3541. template <> size_t GenericFill<IfcFacetedBrep>(const DB& db, const LIST& params, IfcFacetedBrep* in)
  3542. {
  3543. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  3544. // this data structure is not used yet, so there is no code generated to fill its members
  3545. return base;
  3546. }
  3547. // -----------------------------------------------------------------------------------------------------------
  3548. template <> size_t GenericFill<IfcFacetedBrepWithVoids>(const DB& db, const LIST& params, IfcFacetedBrepWithVoids* in)
  3549. {
  3550. size_t base = GenericFill(db,params,static_cast<IfcFacetedBrep*>(in));
  3551. // this data structure is not used yet, so there is no code generated to fill its members
  3552. return base;
  3553. }
  3554. // -----------------------------------------------------------------------------------------------------------
  3555. template <> size_t GenericFill<IfcFan>(const DB& db, const LIST& params, IfcFan* in)
  3556. {
  3557. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDevice*>(in));
  3558. // this data structure is not used yet, so there is no code generated to fill its members
  3559. return base;
  3560. }
  3561. // -----------------------------------------------------------------------------------------------------------
  3562. template <> size_t GenericFill<IfcFanType>(const DB& db, const LIST& params, IfcFanType* in)
  3563. {
  3564. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3565. // this data structure is not used yet, so there is no code generated to fill its members
  3566. return base;
  3567. }
  3568. // -----------------------------------------------------------------------------------------------------------
  3569. template <> size_t GenericFill<IfcFastener>(const DB& db, const LIST& params, IfcFastener* in)
  3570. {
  3571. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3572. // this data structure is not used yet, so there is no code generated to fill its members
  3573. return base;
  3574. }
  3575. // -----------------------------------------------------------------------------------------------------------
  3576. template <> size_t GenericFill<IfcFastenerType>(const DB& db, const LIST& params, IfcFastenerType* in)
  3577. {
  3578. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3579. // this data structure is not used yet, so there is no code generated to fill its members
  3580. return base;
  3581. }
  3582. // -----------------------------------------------------------------------------------------------------------
  3583. template <> size_t GenericFill<IfcFeatureElement>(const DB& db, const LIST& params, IfcFeatureElement* in)
  3584. {
  3585. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3586. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElement"); } return base;
  3587. }
  3588. // -----------------------------------------------------------------------------------------------------------
  3589. template <> size_t GenericFill<IfcFeatureElementAddition>(const DB& db, const LIST& params, IfcFeatureElementAddition* in)
  3590. {
  3591. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  3592. // this data structure is not used yet, so there is no code generated to fill its members
  3593. return base;
  3594. }
  3595. // -----------------------------------------------------------------------------------------------------------
  3596. template <> size_t GenericFill<IfcFeatureElementSubtraction>(const DB& db, const LIST& params, IfcFeatureElementSubtraction* in)
  3597. {
  3598. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  3599. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElementSubtraction"); } return base;
  3600. }
  3601. // -----------------------------------------------------------------------------------------------------------
  3602. template <> size_t GenericFill<IfcFillAreaStyleHatching>(const DB& db, const LIST& params, IfcFillAreaStyleHatching* in)
  3603. {
  3604. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3605. // this data structure is not used yet, so there is no code generated to fill its members
  3606. return base;
  3607. }
  3608. // -----------------------------------------------------------------------------------------------------------
  3609. template <> size_t GenericFill<IfcFillAreaStyleTiles>(const DB& db, const LIST& params, IfcFillAreaStyleTiles* in)
  3610. {
  3611. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3612. // this data structure is not used yet, so there is no code generated to fill its members
  3613. return base;
  3614. }
  3615. // -----------------------------------------------------------------------------------------------------------
  3616. template <> size_t GenericFill<IfcFilter>(const DB& db, const LIST& params, IfcFilter* in)
  3617. {
  3618. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDevice*>(in));
  3619. // this data structure is not used yet, so there is no code generated to fill its members
  3620. return base;
  3621. }
  3622. // -----------------------------------------------------------------------------------------------------------
  3623. template <> size_t GenericFill<IfcFilterType>(const DB& db, const LIST& params, IfcFilterType* in)
  3624. {
  3625. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3626. // this data structure is not used yet, so there is no code generated to fill its members
  3627. return base;
  3628. }
  3629. // -----------------------------------------------------------------------------------------------------------
  3630. template <> size_t GenericFill<IfcFireSuppressionTerminal>(const DB& db, const LIST& params, IfcFireSuppressionTerminal* in)
  3631. {
  3632. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  3633. // this data structure is not used yet, so there is no code generated to fill its members
  3634. return base;
  3635. }
  3636. // -----------------------------------------------------------------------------------------------------------
  3637. template <> size_t GenericFill<IfcFireSuppressionTerminalType>(const DB& db, const LIST& params, IfcFireSuppressionTerminalType* in)
  3638. {
  3639. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3640. // this data structure is not used yet, so there is no code generated to fill its members
  3641. return base;
  3642. }
  3643. // -----------------------------------------------------------------------------------------------------------
  3644. template <> size_t GenericFill<IfcFixedReferenceSweptAreaSolid>(const DB& db, const LIST& params, IfcFixedReferenceSweptAreaSolid* in)
  3645. {
  3646. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  3647. // this data structure is not used yet, so there is no code generated to fill its members
  3648. return base;
  3649. }
  3650. // -----------------------------------------------------------------------------------------------------------
  3651. template <> size_t GenericFill<IfcFlowInstrument>(const DB& db, const LIST& params, IfcFlowInstrument* in)
  3652. {
  3653. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  3654. // this data structure is not used yet, so there is no code generated to fill its members
  3655. return base;
  3656. }
  3657. // -----------------------------------------------------------------------------------------------------------
  3658. template <> size_t GenericFill<IfcFlowInstrumentType>(const DB& db, const LIST& params, IfcFlowInstrumentType* in)
  3659. {
  3660. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  3661. // this data structure is not used yet, so there is no code generated to fill its members
  3662. return base;
  3663. }
  3664. // -----------------------------------------------------------------------------------------------------------
  3665. template <> size_t GenericFill<IfcFlowMeter>(const DB& db, const LIST& params, IfcFlowMeter* in)
  3666. {
  3667. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  3668. // this data structure is not used yet, so there is no code generated to fill its members
  3669. return base;
  3670. }
  3671. // -----------------------------------------------------------------------------------------------------------
  3672. template <> size_t GenericFill<IfcFlowMeterType>(const DB& db, const LIST& params, IfcFlowMeterType* in)
  3673. {
  3674. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3675. // this data structure is not used yet, so there is no code generated to fill its members
  3676. return base;
  3677. }
  3678. // -----------------------------------------------------------------------------------------------------------
  3679. template <> size_t GenericFill<IfcFooting>(const DB& db, const LIST& params, IfcFooting* in)
  3680. {
  3681. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3682. // this data structure is not used yet, so there is no code generated to fill its members
  3683. return base;
  3684. }
  3685. // -----------------------------------------------------------------------------------------------------------
  3686. template <> size_t GenericFill<IfcFootingType>(const DB& db, const LIST& params, IfcFootingType* in)
  3687. {
  3688. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3689. // this data structure is not used yet, so there is no code generated to fill its members
  3690. return base;
  3691. }
  3692. // -----------------------------------------------------------------------------------------------------------
  3693. template <> size_t GenericFill<IfcFurnishingElement>(const DB& db, const LIST& params, IfcFurnishingElement* in)
  3694. {
  3695. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3696. // this data structure is not used yet, so there is no code generated to fill its members
  3697. return base;
  3698. }
  3699. // -----------------------------------------------------------------------------------------------------------
  3700. template <> size_t GenericFill<IfcFurnishingElementType>(const DB& db, const LIST& params, IfcFurnishingElementType* in)
  3701. {
  3702. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3703. // this data structure is not used yet, so there is no code generated to fill its members
  3704. return base;
  3705. }
  3706. // -----------------------------------------------------------------------------------------------------------
  3707. template <> size_t GenericFill<IfcFurniture>(const DB& db, const LIST& params, IfcFurniture* in)
  3708. {
  3709. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElement*>(in));
  3710. // this data structure is not used yet, so there is no code generated to fill its members
  3711. return base;
  3712. }
  3713. // -----------------------------------------------------------------------------------------------------------
  3714. template <> size_t GenericFill<IfcFurnitureType>(const DB& db, const LIST& params, IfcFurnitureType* in)
  3715. {
  3716. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  3717. // this data structure is not used yet, so there is no code generated to fill its members
  3718. return base;
  3719. }
  3720. // -----------------------------------------------------------------------------------------------------------
  3721. template <> size_t GenericFill<IfcGeographicElement>(const DB& db, const LIST& params, IfcGeographicElement* in)
  3722. {
  3723. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3724. // this data structure is not used yet, so there is no code generated to fill its members
  3725. return base;
  3726. }
  3727. // -----------------------------------------------------------------------------------------------------------
  3728. template <> size_t GenericFill<IfcGeographicElementType>(const DB& db, const LIST& params, IfcGeographicElementType* in)
  3729. {
  3730. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3731. // this data structure is not used yet, so there is no code generated to fill its members
  3732. return base;
  3733. }
  3734. // -----------------------------------------------------------------------------------------------------------
  3735. template <> size_t GenericFill<IfcGeometricSet>(const DB& db, const LIST& params, IfcGeometricSet* in)
  3736. {
  3737. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3738. // this data structure is not used yet, so there is no code generated to fill its members
  3739. return base;
  3740. }
  3741. // -----------------------------------------------------------------------------------------------------------
  3742. template <> size_t GenericFill<IfcGeometricCurveSet>(const DB& db, const LIST& params, IfcGeometricCurveSet* in)
  3743. {
  3744. size_t base = GenericFill(db,params,static_cast<IfcGeometricSet*>(in));
  3745. // this data structure is not used yet, so there is no code generated to fill its members
  3746. return base;
  3747. }
  3748. // -----------------------------------------------------------------------------------------------------------
  3749. template <> size_t GenericFill<IfcRepresentationContext>(const DB& db, const LIST& params, IfcRepresentationContext* in)
  3750. {
  3751. size_t base = 0;
  3752. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationContext"); } do { // convert the 'ContextIdentifier' argument
  3753. boost::shared_ptr<const DataType> arg = params[base++];
  3754. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[0]=true; break; }
  3755. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3756. try { GenericConvert( in->ContextIdentifier, arg, db ); break; }
  3757. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationContext to be a `IfcLabel`")); }
  3758. } while(0);
  3759. do { // convert the 'ContextType' argument
  3760. boost::shared_ptr<const DataType> arg = params[base++];
  3761. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[1]=true; break; }
  3762. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3763. try { GenericConvert( in->ContextType, arg, db ); break; }
  3764. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationContext to be a `IfcLabel`")); }
  3765. } while(0);
  3766. return base;
  3767. }
  3768. // -----------------------------------------------------------------------------------------------------------
  3769. template <> size_t GenericFill<IfcGeometricRepresentationContext>(const DB& db, const LIST& params, IfcGeometricRepresentationContext* in)
  3770. {
  3771. size_t base = GenericFill(db,params,static_cast<IfcRepresentationContext*>(in));
  3772. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcGeometricRepresentationContext"); } do { // convert the 'CoordinateSpaceDimension' argument
  3773. boost::shared_ptr<const DataType> arg = params[base++];
  3774. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[0]=true; break; }
  3775. try { GenericConvert( in->CoordinateSpaceDimension, arg, db ); break; }
  3776. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcGeometricRepresentationContext to be a `IfcDimensionCount`")); }
  3777. } while(0);
  3778. do { // convert the 'Precision' argument
  3779. boost::shared_ptr<const DataType> arg = params[base++];
  3780. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[1]=true; break; }
  3781. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3782. try { GenericConvert( in->Precision, arg, db ); break; }
  3783. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcGeometricRepresentationContext to be a `IfcReal`")); }
  3784. } while(0);
  3785. do { // convert the 'WorldCoordinateSystem' argument
  3786. boost::shared_ptr<const DataType> arg = params[base++];
  3787. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[2]=true; break; }
  3788. try { GenericConvert( in->WorldCoordinateSystem, arg, db ); break; }
  3789. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcGeometricRepresentationContext to be a `IfcAxis2Placement`")); }
  3790. } while(0);
  3791. do { // convert the 'TrueNorth' argument
  3792. boost::shared_ptr<const DataType> arg = params[base++];
  3793. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[3]=true; break; }
  3794. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3795. try { GenericConvert( in->TrueNorth, arg, db ); break; }
  3796. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcGeometricRepresentationContext to be a `IfcDirection`")); }
  3797. } while(0);
  3798. return base;
  3799. }
  3800. // -----------------------------------------------------------------------------------------------------------
  3801. template <> size_t GenericFill<IfcGeometricRepresentationSubContext>(const DB& db, const LIST& params, IfcGeometricRepresentationSubContext* in)
  3802. {
  3803. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationContext*>(in));
  3804. // this data structure is not used yet, so there is no code generated to fill its members
  3805. return base;
  3806. }
  3807. // -----------------------------------------------------------------------------------------------------------
  3808. template <> size_t GenericFill<IfcGrid>(const DB& db, const LIST& params, IfcGrid* in)
  3809. {
  3810. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  3811. // this data structure is not used yet, so there is no code generated to fill its members
  3812. return base;
  3813. }
  3814. // -----------------------------------------------------------------------------------------------------------
  3815. template <> size_t GenericFill<IfcObjectPlacement>(const DB& db, const LIST& params, IfcObjectPlacement* in)
  3816. {
  3817. size_t base = 0;
  3818. return base;
  3819. }
  3820. // -----------------------------------------------------------------------------------------------------------
  3821. template <> size_t GenericFill<IfcGridPlacement>(const DB& db, const LIST& params, IfcGridPlacement* in)
  3822. {
  3823. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  3824. // this data structure is not used yet, so there is no code generated to fill its members
  3825. return base;
  3826. }
  3827. // -----------------------------------------------------------------------------------------------------------
  3828. template <> size_t GenericFill<IfcHeatExchanger>(const DB& db, const LIST& params, IfcHeatExchanger* in)
  3829. {
  3830. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3831. // this data structure is not used yet, so there is no code generated to fill its members
  3832. return base;
  3833. }
  3834. // -----------------------------------------------------------------------------------------------------------
  3835. template <> size_t GenericFill<IfcHeatExchangerType>(const DB& db, const LIST& params, IfcHeatExchangerType* in)
  3836. {
  3837. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3838. // this data structure is not used yet, so there is no code generated to fill its members
  3839. return base;
  3840. }
  3841. // -----------------------------------------------------------------------------------------------------------
  3842. template <> size_t GenericFill<IfcHumidifier>(const DB& db, const LIST& params, IfcHumidifier* in)
  3843. {
  3844. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3845. // this data structure is not used yet, so there is no code generated to fill its members
  3846. return base;
  3847. }
  3848. // -----------------------------------------------------------------------------------------------------------
  3849. template <> size_t GenericFill<IfcHumidifierType>(const DB& db, const LIST& params, IfcHumidifierType* in)
  3850. {
  3851. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3852. // this data structure is not used yet, so there is no code generated to fill its members
  3853. return base;
  3854. }
  3855. // -----------------------------------------------------------------------------------------------------------
  3856. template <> size_t GenericFill<IfcIShapeProfileDef>(const DB& db, const LIST& params, IfcIShapeProfileDef* in)
  3857. {
  3858. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3859. if (params.GetSize() < 10) { throw STEP::TypeError("expected 10 arguments to IfcIShapeProfileDef"); } do { // convert the 'OverallWidth' argument
  3860. boost::shared_ptr<const DataType> arg = params[base++];
  3861. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  3862. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3863. } while(0);
  3864. do { // convert the 'OverallDepth' argument
  3865. boost::shared_ptr<const DataType> arg = params[base++];
  3866. try { GenericConvert( in->OverallDepth, arg, db ); break; }
  3867. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3868. } while(0);
  3869. do { // convert the 'WebThickness' argument
  3870. boost::shared_ptr<const DataType> arg = params[base++];
  3871. try { GenericConvert( in->WebThickness, arg, db ); break; }
  3872. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3873. } while(0);
  3874. do { // convert the 'FlangeThickness' argument
  3875. boost::shared_ptr<const DataType> arg = params[base++];
  3876. try { GenericConvert( in->FlangeThickness, arg, db ); break; }
  3877. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3878. } while(0);
  3879. do { // convert the 'FilletRadius' argument
  3880. boost::shared_ptr<const DataType> arg = params[base++];
  3881. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3882. try { GenericConvert( in->FilletRadius, arg, db ); break; }
  3883. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcIShapeProfileDef to be a `IfcNonNegativeLengthMeasure`")); }
  3884. } while(0);
  3885. do { // convert the 'FlangeEdgeRadius' argument
  3886. boost::shared_ptr<const DataType> arg = params[base++];
  3887. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3888. try { GenericConvert( in->FlangeEdgeRadius, arg, db ); break; }
  3889. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcIShapeProfileDef to be a `IfcNonNegativeLengthMeasure`")); }
  3890. } while(0);
  3891. do { // convert the 'FlangeSlope' argument
  3892. boost::shared_ptr<const DataType> arg = params[base++];
  3893. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3894. try { GenericConvert( in->FlangeSlope, arg, db ); break; }
  3895. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcIShapeProfileDef to be a `IfcPlaneAngleMeasure`")); }
  3896. } while(0);
  3897. return base;
  3898. }
  3899. // -----------------------------------------------------------------------------------------------------------
  3900. template <> size_t GenericFill<IfcIndexedPolyCurve>(const DB& db, const LIST& params, IfcIndexedPolyCurve* in)
  3901. {
  3902. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  3903. // this data structure is not used yet, so there is no code generated to fill its members
  3904. return base;
  3905. }
  3906. // -----------------------------------------------------------------------------------------------------------
  3907. template <> size_t GenericFill<IfcTessellatedItem>(const DB& db, const LIST& params, IfcTessellatedItem* in)
  3908. {
  3909. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3910. // this data structure is not used yet, so there is no code generated to fill its members
  3911. return base;
  3912. }
  3913. // -----------------------------------------------------------------------------------------------------------
  3914. template <> size_t GenericFill<IfcIndexedPolygonalFace>(const DB& db, const LIST& params, IfcIndexedPolygonalFace* in)
  3915. {
  3916. size_t base = GenericFill(db,params,static_cast<IfcTessellatedItem*>(in));
  3917. // this data structure is not used yet, so there is no code generated to fill its members
  3918. return base;
  3919. }
  3920. // -----------------------------------------------------------------------------------------------------------
  3921. template <> size_t GenericFill<IfcIndexedPolygonalFaceWithVoids>(const DB& db, const LIST& params, IfcIndexedPolygonalFaceWithVoids* in)
  3922. {
  3923. size_t base = GenericFill(db,params,static_cast<IfcIndexedPolygonalFace*>(in));
  3924. // this data structure is not used yet, so there is no code generated to fill its members
  3925. return base;
  3926. }
  3927. // -----------------------------------------------------------------------------------------------------------
  3928. template <> size_t GenericFill<IfcInterceptor>(const DB& db, const LIST& params, IfcInterceptor* in)
  3929. {
  3930. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDevice*>(in));
  3931. // this data structure is not used yet, so there is no code generated to fill its members
  3932. return base;
  3933. }
  3934. // -----------------------------------------------------------------------------------------------------------
  3935. template <> size_t GenericFill<IfcInterceptorType>(const DB& db, const LIST& params, IfcInterceptorType* in)
  3936. {
  3937. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3938. // this data structure is not used yet, so there is no code generated to fill its members
  3939. return base;
  3940. }
  3941. // -----------------------------------------------------------------------------------------------------------
  3942. template <> size_t GenericFill<IfcSurfaceCurve>(const DB& db, const LIST& params, IfcSurfaceCurve* in)
  3943. {
  3944. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  3945. // this data structure is not used yet, so there is no code generated to fill its members
  3946. return base;
  3947. }
  3948. // -----------------------------------------------------------------------------------------------------------
  3949. template <> size_t GenericFill<IfcIntersectionCurve>(const DB& db, const LIST& params, IfcIntersectionCurve* in)
  3950. {
  3951. size_t base = GenericFill(db,params,static_cast<IfcSurfaceCurve*>(in));
  3952. // this data structure is not used yet, so there is no code generated to fill its members
  3953. return base;
  3954. }
  3955. // -----------------------------------------------------------------------------------------------------------
  3956. template <> size_t GenericFill<IfcInventory>(const DB& db, const LIST& params, IfcInventory* in)
  3957. {
  3958. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3959. // this data structure is not used yet, so there is no code generated to fill its members
  3960. return base;
  3961. }
  3962. // -----------------------------------------------------------------------------------------------------------
  3963. template <> size_t GenericFill<IfcJunctionBox>(const DB& db, const LIST& params, IfcJunctionBox* in)
  3964. {
  3965. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  3966. // this data structure is not used yet, so there is no code generated to fill its members
  3967. return base;
  3968. }
  3969. // -----------------------------------------------------------------------------------------------------------
  3970. template <> size_t GenericFill<IfcJunctionBoxType>(const DB& db, const LIST& params, IfcJunctionBoxType* in)
  3971. {
  3972. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3973. // this data structure is not used yet, so there is no code generated to fill its members
  3974. return base;
  3975. }
  3976. // -----------------------------------------------------------------------------------------------------------
  3977. template <> size_t GenericFill<IfcLShapeProfileDef>(const DB& db, const LIST& params, IfcLShapeProfileDef* in)
  3978. {
  3979. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3980. // this data structure is not used yet, so there is no code generated to fill its members
  3981. return base;
  3982. }
  3983. // -----------------------------------------------------------------------------------------------------------
  3984. template <> size_t GenericFill<IfcLaborResource>(const DB& db, const LIST& params, IfcLaborResource* in)
  3985. {
  3986. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3987. // this data structure is not used yet, so there is no code generated to fill its members
  3988. return base;
  3989. }
  3990. // -----------------------------------------------------------------------------------------------------------
  3991. template <> size_t GenericFill<IfcLaborResourceType>(const DB& db, const LIST& params, IfcLaborResourceType* in)
  3992. {
  3993. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  3994. // this data structure is not used yet, so there is no code generated to fill its members
  3995. return base;
  3996. }
  3997. // -----------------------------------------------------------------------------------------------------------
  3998. template <> size_t GenericFill<IfcLamp>(const DB& db, const LIST& params, IfcLamp* in)
  3999. {
  4000. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4001. // this data structure is not used yet, so there is no code generated to fill its members
  4002. return base;
  4003. }
  4004. // -----------------------------------------------------------------------------------------------------------
  4005. template <> size_t GenericFill<IfcLampType>(const DB& db, const LIST& params, IfcLampType* in)
  4006. {
  4007. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4008. // this data structure is not used yet, so there is no code generated to fill its members
  4009. return base;
  4010. }
  4011. // -----------------------------------------------------------------------------------------------------------
  4012. template <> size_t GenericFill<IfcLightFixture>(const DB& db, const LIST& params, IfcLightFixture* in)
  4013. {
  4014. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4015. // this data structure is not used yet, so there is no code generated to fill its members
  4016. return base;
  4017. }
  4018. // -----------------------------------------------------------------------------------------------------------
  4019. template <> size_t GenericFill<IfcLightFixtureType>(const DB& db, const LIST& params, IfcLightFixtureType* in)
  4020. {
  4021. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4022. // this data structure is not used yet, so there is no code generated to fill its members
  4023. return base;
  4024. }
  4025. // -----------------------------------------------------------------------------------------------------------
  4026. template <> size_t GenericFill<IfcLightSource>(const DB& db, const LIST& params, IfcLightSource* in)
  4027. {
  4028. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4029. // this data structure is not used yet, so there is no code generated to fill its members
  4030. return base;
  4031. }
  4032. // -----------------------------------------------------------------------------------------------------------
  4033. template <> size_t GenericFill<IfcLightSourceAmbient>(const DB& db, const LIST& params, IfcLightSourceAmbient* in)
  4034. {
  4035. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4036. // this data structure is not used yet, so there is no code generated to fill its members
  4037. return base;
  4038. }
  4039. // -----------------------------------------------------------------------------------------------------------
  4040. template <> size_t GenericFill<IfcLightSourceDirectional>(const DB& db, const LIST& params, IfcLightSourceDirectional* in)
  4041. {
  4042. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4043. // this data structure is not used yet, so there is no code generated to fill its members
  4044. return base;
  4045. }
  4046. // -----------------------------------------------------------------------------------------------------------
  4047. template <> size_t GenericFill<IfcLightSourceGoniometric>(const DB& db, const LIST& params, IfcLightSourceGoniometric* in)
  4048. {
  4049. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4050. // this data structure is not used yet, so there is no code generated to fill its members
  4051. return base;
  4052. }
  4053. // -----------------------------------------------------------------------------------------------------------
  4054. template <> size_t GenericFill<IfcLightSourcePositional>(const DB& db, const LIST& params, IfcLightSourcePositional* in)
  4055. {
  4056. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4057. // this data structure is not used yet, so there is no code generated to fill its members
  4058. return base;
  4059. }
  4060. // -----------------------------------------------------------------------------------------------------------
  4061. template <> size_t GenericFill<IfcLightSourceSpot>(const DB& db, const LIST& params, IfcLightSourceSpot* in)
  4062. {
  4063. size_t base = GenericFill(db,params,static_cast<IfcLightSourcePositional*>(in));
  4064. // this data structure is not used yet, so there is no code generated to fill its members
  4065. return base;
  4066. }
  4067. // -----------------------------------------------------------------------------------------------------------
  4068. template <> size_t GenericFill<IfcLine>(const DB& db, const LIST& params, IfcLine* in)
  4069. {
  4070. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4071. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLine"); } do { // convert the 'Pnt' argument
  4072. boost::shared_ptr<const DataType> arg = params[base++];
  4073. try { GenericConvert( in->Pnt, arg, db ); break; }
  4074. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLine to be a `IfcCartesianPoint`")); }
  4075. } while(0);
  4076. do { // convert the 'Dir' argument
  4077. boost::shared_ptr<const DataType> arg = params[base++];
  4078. try { GenericConvert( in->Dir, arg, db ); break; }
  4079. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLine to be a `IfcVector`")); }
  4080. } while(0);
  4081. return base;
  4082. }
  4083. // -----------------------------------------------------------------------------------------------------------
  4084. template <> size_t GenericFill<IfcLocalPlacement>(const DB& db, const LIST& params, IfcLocalPlacement* in)
  4085. {
  4086. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  4087. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLocalPlacement"); } do { // convert the 'PlacementRelTo' argument
  4088. boost::shared_ptr<const DataType> arg = params[base++];
  4089. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4090. try { GenericConvert( in->PlacementRelTo, arg, db ); break; }
  4091. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLocalPlacement to be a `IfcObjectPlacement`")); }
  4092. } while(0);
  4093. do { // convert the 'RelativePlacement' argument
  4094. boost::shared_ptr<const DataType> arg = params[base++];
  4095. try { GenericConvert( in->RelativePlacement, arg, db ); break; }
  4096. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLocalPlacement to be a `IfcAxis2Placement`")); }
  4097. } while(0);
  4098. return base;
  4099. }
  4100. // -----------------------------------------------------------------------------------------------------------
  4101. template <> size_t GenericFill<IfcMappedItem>(const DB& db, const LIST& params, IfcMappedItem* in)
  4102. {
  4103. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  4104. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMappedItem"); } do { // convert the 'MappingSource' argument
  4105. boost::shared_ptr<const DataType> arg = params[base++];
  4106. try { GenericConvert( in->MappingSource, arg, db ); break; }
  4107. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMappedItem to be a `IfcRepresentationMap`")); }
  4108. } while(0);
  4109. do { // convert the 'MappingTarget' argument
  4110. boost::shared_ptr<const DataType> arg = params[base++];
  4111. try { GenericConvert( in->MappingTarget, arg, db ); break; }
  4112. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMappedItem to be a `IfcCartesianTransformationOperator`")); }
  4113. } while(0);
  4114. return base;
  4115. }
  4116. // -----------------------------------------------------------------------------------------------------------
  4117. template <> size_t GenericFill<IfcProductRepresentation>(const DB& db, const LIST& params, IfcProductRepresentation* in)
  4118. {
  4119. size_t base = 0;
  4120. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcProductRepresentation"); } do { // convert the 'Name' argument
  4121. boost::shared_ptr<const DataType> arg = params[base++];
  4122. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[0]=true; break; }
  4123. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4124. try { GenericConvert( in->Name, arg, db ); break; }
  4125. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProductRepresentation to be a `IfcLabel`")); }
  4126. } while(0);
  4127. do { // convert the 'Description' argument
  4128. boost::shared_ptr<const DataType> arg = params[base++];
  4129. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[1]=true; break; }
  4130. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4131. try { GenericConvert( in->Description, arg, db ); break; }
  4132. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProductRepresentation to be a `IfcText`")); }
  4133. } while(0);
  4134. do { // convert the 'Representations' argument
  4135. boost::shared_ptr<const DataType> arg = params[base++];
  4136. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[2]=true; break; }
  4137. try { GenericConvert( in->Representations, arg, db ); break; }
  4138. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcProductRepresentation to be a `LIST [1:?] OF IfcRepresentation`")); }
  4139. } while(0);
  4140. return base;
  4141. }
  4142. // -----------------------------------------------------------------------------------------------------------
  4143. template <> size_t GenericFill<IfcMaterialDefinitionRepresentation>(const DB& db, const LIST& params, IfcMaterialDefinitionRepresentation* in)
  4144. {
  4145. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4146. // this data structure is not used yet, so there is no code generated to fill its members
  4147. return base;
  4148. }
  4149. // -----------------------------------------------------------------------------------------------------------
  4150. template <> size_t GenericFill<IfcMeasureWithUnit>(const DB& db, const LIST& params, IfcMeasureWithUnit* in)
  4151. {
  4152. size_t base = 0;
  4153. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMeasureWithUnit"); } do { // convert the 'ValueComponent' argument
  4154. boost::shared_ptr<const DataType> arg = params[base++];
  4155. try { GenericConvert( in->ValueComponent, arg, db ); break; }
  4156. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMeasureWithUnit to be a `IfcValue`")); }
  4157. } while(0);
  4158. do { // convert the 'UnitComponent' argument
  4159. boost::shared_ptr<const DataType> arg = params[base++];
  4160. try { GenericConvert( in->UnitComponent, arg, db ); break; }
  4161. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMeasureWithUnit to be a `IfcUnit`")); }
  4162. } while(0);
  4163. return base;
  4164. }
  4165. // -----------------------------------------------------------------------------------------------------------
  4166. template <> size_t GenericFill<IfcMechanicalFastener>(const DB& db, const LIST& params, IfcMechanicalFastener* in)
  4167. {
  4168. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  4169. // this data structure is not used yet, so there is no code generated to fill its members
  4170. return base;
  4171. }
  4172. // -----------------------------------------------------------------------------------------------------------
  4173. template <> size_t GenericFill<IfcMechanicalFastenerType>(const DB& db, const LIST& params, IfcMechanicalFastenerType* in)
  4174. {
  4175. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  4176. // this data structure is not used yet, so there is no code generated to fill its members
  4177. return base;
  4178. }
  4179. // -----------------------------------------------------------------------------------------------------------
  4180. template <> size_t GenericFill<IfcMedicalDevice>(const DB& db, const LIST& params, IfcMedicalDevice* in)
  4181. {
  4182. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4183. // this data structure is not used yet, so there is no code generated to fill its members
  4184. return base;
  4185. }
  4186. // -----------------------------------------------------------------------------------------------------------
  4187. template <> size_t GenericFill<IfcMedicalDeviceType>(const DB& db, const LIST& params, IfcMedicalDeviceType* in)
  4188. {
  4189. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4190. // this data structure is not used yet, so there is no code generated to fill its members
  4191. return base;
  4192. }
  4193. // -----------------------------------------------------------------------------------------------------------
  4194. template <> size_t GenericFill<IfcMember>(const DB& db, const LIST& params, IfcMember* in)
  4195. {
  4196. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4197. // this data structure is not used yet, so there is no code generated to fill its members
  4198. return base;
  4199. }
  4200. // -----------------------------------------------------------------------------------------------------------
  4201. template <> size_t GenericFill<IfcMemberStandardCase>(const DB& db, const LIST& params, IfcMemberStandardCase* in)
  4202. {
  4203. size_t base = GenericFill(db,params,static_cast<IfcMember*>(in));
  4204. // this data structure is not used yet, so there is no code generated to fill its members
  4205. return base;
  4206. }
  4207. // -----------------------------------------------------------------------------------------------------------
  4208. template <> size_t GenericFill<IfcMemberType>(const DB& db, const LIST& params, IfcMemberType* in)
  4209. {
  4210. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4211. // this data structure is not used yet, so there is no code generated to fill its members
  4212. return base;
  4213. }
  4214. // -----------------------------------------------------------------------------------------------------------
  4215. template <> size_t GenericFill<IfcMirroredProfileDef>(const DB& db, const LIST& params, IfcMirroredProfileDef* in)
  4216. {
  4217. size_t base = GenericFill(db,params,static_cast<IfcDerivedProfileDef*>(in));
  4218. // this data structure is not used yet, so there is no code generated to fill its members
  4219. return base;
  4220. }
  4221. // -----------------------------------------------------------------------------------------------------------
  4222. template <> size_t GenericFill<IfcMotorConnection>(const DB& db, const LIST& params, IfcMotorConnection* in)
  4223. {
  4224. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  4225. // this data structure is not used yet, so there is no code generated to fill its members
  4226. return base;
  4227. }
  4228. // -----------------------------------------------------------------------------------------------------------
  4229. template <> size_t GenericFill<IfcMotorConnectionType>(const DB& db, const LIST& params, IfcMotorConnectionType* in)
  4230. {
  4231. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4232. // this data structure is not used yet, so there is no code generated to fill its members
  4233. return base;
  4234. }
  4235. // -----------------------------------------------------------------------------------------------------------
  4236. template <> size_t GenericFill<IfcOccupant>(const DB& db, const LIST& params, IfcOccupant* in)
  4237. {
  4238. size_t base = GenericFill(db,params,static_cast<IfcActor*>(in));
  4239. // this data structure is not used yet, so there is no code generated to fill its members
  4240. return base;
  4241. }
  4242. // -----------------------------------------------------------------------------------------------------------
  4243. template <> size_t GenericFill<IfcOffsetCurve2D>(const DB& db, const LIST& params, IfcOffsetCurve2D* in)
  4244. {
  4245. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4246. // this data structure is not used yet, so there is no code generated to fill its members
  4247. return base;
  4248. }
  4249. // -----------------------------------------------------------------------------------------------------------
  4250. template <> size_t GenericFill<IfcOffsetCurve3D>(const DB& db, const LIST& params, IfcOffsetCurve3D* in)
  4251. {
  4252. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4253. // this data structure is not used yet, so there is no code generated to fill its members
  4254. return base;
  4255. }
  4256. // -----------------------------------------------------------------------------------------------------------
  4257. template <> size_t GenericFill<IfcOpenShell>(const DB& db, const LIST& params, IfcOpenShell* in)
  4258. {
  4259. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  4260. // this data structure is not used yet, so there is no code generated to fill its members
  4261. return base;
  4262. }
  4263. // -----------------------------------------------------------------------------------------------------------
  4264. template <> size_t GenericFill<IfcOpeningElement>(const DB& db, const LIST& params, IfcOpeningElement* in)
  4265. {
  4266. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  4267. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcOpeningElement"); } do { // convert the 'PredefinedType' argument
  4268. boost::shared_ptr<const DataType> arg = params[base++];
  4269. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcOpeningElement,1>::aux_is_derived[0]=true; break; }
  4270. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4271. try { GenericConvert( in->PredefinedType, arg, db ); break; }
  4272. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcOpeningElement to be a `IfcOpeningElementTypeEnum`")); }
  4273. } while(0);
  4274. return base;
  4275. }
  4276. // -----------------------------------------------------------------------------------------------------------
  4277. template <> size_t GenericFill<IfcOpeningStandardCase>(const DB& db, const LIST& params, IfcOpeningStandardCase* in)
  4278. {
  4279. size_t base = GenericFill(db,params,static_cast<IfcOpeningElement*>(in));
  4280. // this data structure is not used yet, so there is no code generated to fill its members
  4281. return base;
  4282. }
  4283. // -----------------------------------------------------------------------------------------------------------
  4284. template <> size_t GenericFill<IfcOrientedEdge>(const DB& db, const LIST& params, IfcOrientedEdge* in)
  4285. {
  4286. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  4287. // this data structure is not used yet, so there is no code generated to fill its members
  4288. return base;
  4289. }
  4290. // -----------------------------------------------------------------------------------------------------------
  4291. template <> size_t GenericFill<IfcOuterBoundaryCurve>(const DB& db, const LIST& params, IfcOuterBoundaryCurve* in)
  4292. {
  4293. size_t base = GenericFill(db,params,static_cast<IfcBoundaryCurve*>(in));
  4294. // this data structure is not used yet, so there is no code generated to fill its members
  4295. return base;
  4296. }
  4297. // -----------------------------------------------------------------------------------------------------------
  4298. template <> size_t GenericFill<IfcOutlet>(const DB& db, const LIST& params, IfcOutlet* in)
  4299. {
  4300. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4301. // this data structure is not used yet, so there is no code generated to fill its members
  4302. return base;
  4303. }
  4304. // -----------------------------------------------------------------------------------------------------------
  4305. template <> size_t GenericFill<IfcOutletType>(const DB& db, const LIST& params, IfcOutletType* in)
  4306. {
  4307. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4308. // this data structure is not used yet, so there is no code generated to fill its members
  4309. return base;
  4310. }
  4311. // -----------------------------------------------------------------------------------------------------------
  4312. template <> size_t GenericFill<IfcPath>(const DB& db, const LIST& params, IfcPath* in)
  4313. {
  4314. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  4315. // this data structure is not used yet, so there is no code generated to fill its members
  4316. return base;
  4317. }
  4318. // -----------------------------------------------------------------------------------------------------------
  4319. template <> size_t GenericFill<IfcPcurve>(const DB& db, const LIST& params, IfcPcurve* in)
  4320. {
  4321. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4322. // this data structure is not used yet, so there is no code generated to fill its members
  4323. return base;
  4324. }
  4325. // -----------------------------------------------------------------------------------------------------------
  4326. template <> size_t GenericFill<IfcPerformanceHistory>(const DB& db, const LIST& params, IfcPerformanceHistory* in)
  4327. {
  4328. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4329. // this data structure is not used yet, so there is no code generated to fill its members
  4330. return base;
  4331. }
  4332. // -----------------------------------------------------------------------------------------------------------
  4333. template <> size_t GenericFill<IfcPermit>(const DB& db, const LIST& params, IfcPermit* in)
  4334. {
  4335. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4336. // this data structure is not used yet, so there is no code generated to fill its members
  4337. return base;
  4338. }
  4339. // -----------------------------------------------------------------------------------------------------------
  4340. template <> size_t GenericFill<IfcPile>(const DB& db, const LIST& params, IfcPile* in)
  4341. {
  4342. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4343. // this data structure is not used yet, so there is no code generated to fill its members
  4344. return base;
  4345. }
  4346. // -----------------------------------------------------------------------------------------------------------
  4347. template <> size_t GenericFill<IfcPileType>(const DB& db, const LIST& params, IfcPileType* in)
  4348. {
  4349. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4350. // this data structure is not used yet, so there is no code generated to fill its members
  4351. return base;
  4352. }
  4353. // -----------------------------------------------------------------------------------------------------------
  4354. template <> size_t GenericFill<IfcPipeFitting>(const DB& db, const LIST& params, IfcPipeFitting* in)
  4355. {
  4356. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  4357. // this data structure is not used yet, so there is no code generated to fill its members
  4358. return base;
  4359. }
  4360. // -----------------------------------------------------------------------------------------------------------
  4361. template <> size_t GenericFill<IfcPipeFittingType>(const DB& db, const LIST& params, IfcPipeFittingType* in)
  4362. {
  4363. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  4364. // this data structure is not used yet, so there is no code generated to fill its members
  4365. return base;
  4366. }
  4367. // -----------------------------------------------------------------------------------------------------------
  4368. template <> size_t GenericFill<IfcPipeSegment>(const DB& db, const LIST& params, IfcPipeSegment* in)
  4369. {
  4370. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  4371. // this data structure is not used yet, so there is no code generated to fill its members
  4372. return base;
  4373. }
  4374. // -----------------------------------------------------------------------------------------------------------
  4375. template <> size_t GenericFill<IfcPipeSegmentType>(const DB& db, const LIST& params, IfcPipeSegmentType* in)
  4376. {
  4377. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4378. // this data structure is not used yet, so there is no code generated to fill its members
  4379. return base;
  4380. }
  4381. // -----------------------------------------------------------------------------------------------------------
  4382. template <> size_t GenericFill<IfcPlanarExtent>(const DB& db, const LIST& params, IfcPlanarExtent* in)
  4383. {
  4384. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4385. // this data structure is not used yet, so there is no code generated to fill its members
  4386. return base;
  4387. }
  4388. // -----------------------------------------------------------------------------------------------------------
  4389. template <> size_t GenericFill<IfcPlanarBox>(const DB& db, const LIST& params, IfcPlanarBox* in)
  4390. {
  4391. size_t base = GenericFill(db,params,static_cast<IfcPlanarExtent*>(in));
  4392. // this data structure is not used yet, so there is no code generated to fill its members
  4393. return base;
  4394. }
  4395. // -----------------------------------------------------------------------------------------------------------
  4396. template <> size_t GenericFill<IfcPlane>(const DB& db, const LIST& params, IfcPlane* in)
  4397. {
  4398. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  4399. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlane"); } return base;
  4400. }
  4401. // -----------------------------------------------------------------------------------------------------------
  4402. template <> size_t GenericFill<IfcPlate>(const DB& db, const LIST& params, IfcPlate* in)
  4403. {
  4404. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4405. // this data structure is not used yet, so there is no code generated to fill its members
  4406. return base;
  4407. }
  4408. // -----------------------------------------------------------------------------------------------------------
  4409. template <> size_t GenericFill<IfcPlateStandardCase>(const DB& db, const LIST& params, IfcPlateStandardCase* in)
  4410. {
  4411. size_t base = GenericFill(db,params,static_cast<IfcPlate*>(in));
  4412. // this data structure is not used yet, so there is no code generated to fill its members
  4413. return base;
  4414. }
  4415. // -----------------------------------------------------------------------------------------------------------
  4416. template <> size_t GenericFill<IfcPlateType>(const DB& db, const LIST& params, IfcPlateType* in)
  4417. {
  4418. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4419. // this data structure is not used yet, so there is no code generated to fill its members
  4420. return base;
  4421. }
  4422. // -----------------------------------------------------------------------------------------------------------
  4423. template <> size_t GenericFill<IfcPointOnCurve>(const DB& db, const LIST& params, IfcPointOnCurve* in)
  4424. {
  4425. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4426. // this data structure is not used yet, so there is no code generated to fill its members
  4427. return base;
  4428. }
  4429. // -----------------------------------------------------------------------------------------------------------
  4430. template <> size_t GenericFill<IfcPointOnSurface>(const DB& db, const LIST& params, IfcPointOnSurface* in)
  4431. {
  4432. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4433. // this data structure is not used yet, so there is no code generated to fill its members
  4434. return base;
  4435. }
  4436. // -----------------------------------------------------------------------------------------------------------
  4437. template <> size_t GenericFill<IfcPolyLoop>(const DB& db, const LIST& params, IfcPolyLoop* in)
  4438. {
  4439. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  4440. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyLoop"); } do { // convert the 'Polygon' argument
  4441. boost::shared_ptr<const DataType> arg = params[base++];
  4442. try { GenericConvert( in->Polygon, arg, db ); break; }
  4443. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyLoop to be a `LIST [3:?] OF IfcCartesianPoint`")); }
  4444. } while(0);
  4445. return base;
  4446. }
  4447. // -----------------------------------------------------------------------------------------------------------
  4448. template <> size_t GenericFill<IfcPolygonalBoundedHalfSpace>(const DB& db, const LIST& params, IfcPolygonalBoundedHalfSpace* in)
  4449. {
  4450. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  4451. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPolygonalBoundedHalfSpace"); } do { // convert the 'Position' argument
  4452. boost::shared_ptr<const DataType> arg = params[base++];
  4453. try { GenericConvert( in->Position, arg, db ); break; }
  4454. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPolygonalBoundedHalfSpace to be a `IfcAxis2Placement3D`")); }
  4455. } while(0);
  4456. do { // convert the 'PolygonalBoundary' argument
  4457. boost::shared_ptr<const DataType> arg = params[base++];
  4458. try { GenericConvert( in->PolygonalBoundary, arg, db ); break; }
  4459. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPolygonalBoundedHalfSpace to be a `IfcBoundedCurve`")); }
  4460. } while(0);
  4461. return base;
  4462. }
  4463. // -----------------------------------------------------------------------------------------------------------
  4464. template <> size_t GenericFill<IfcTessellatedFaceSet>(const DB& db, const LIST& params, IfcTessellatedFaceSet* in)
  4465. {
  4466. size_t base = GenericFill(db,params,static_cast<IfcTessellatedItem*>(in));
  4467. // this data structure is not used yet, so there is no code generated to fill its members
  4468. return base;
  4469. }
  4470. // -----------------------------------------------------------------------------------------------------------
  4471. template <> size_t GenericFill<IfcPolygonalFaceSet>(const DB& db, const LIST& params, IfcPolygonalFaceSet* in)
  4472. {
  4473. size_t base = GenericFill(db,params,static_cast<IfcTessellatedFaceSet*>(in));
  4474. // this data structure is not used yet, so there is no code generated to fill its members
  4475. return base;
  4476. }
  4477. // -----------------------------------------------------------------------------------------------------------
  4478. template <> size_t GenericFill<IfcPolyline>(const DB& db, const LIST& params, IfcPolyline* in)
  4479. {
  4480. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4481. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyline"); } do { // convert the 'Points' argument
  4482. boost::shared_ptr<const DataType> arg = params[base++];
  4483. try { GenericConvert( in->Points, arg, db ); break; }
  4484. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyline to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  4485. } while(0);
  4486. return base;
  4487. }
  4488. // -----------------------------------------------------------------------------------------------------------
  4489. template <> size_t GenericFill<IfcPresentationStyleAssignment>(const DB& db, const LIST& params, IfcPresentationStyleAssignment* in)
  4490. {
  4491. size_t base = 0;
  4492. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyleAssignment"); } do { // convert the 'Styles' argument
  4493. boost::shared_ptr<const DataType> arg = params[base++];
  4494. try { GenericConvert( in->Styles, arg, db ); break; }
  4495. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyleAssignment to be a `SET [1:?] OF IfcPresentationStyleSelect`")); }
  4496. } while(0);
  4497. return base;
  4498. }
  4499. // -----------------------------------------------------------------------------------------------------------
  4500. template <> size_t GenericFill<IfcProcedure>(const DB& db, const LIST& params, IfcProcedure* in)
  4501. {
  4502. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  4503. // this data structure is not used yet, so there is no code generated to fill its members
  4504. return base;
  4505. }
  4506. // -----------------------------------------------------------------------------------------------------------
  4507. template <> size_t GenericFill<IfcProcedureType>(const DB& db, const LIST& params, IfcProcedureType* in)
  4508. {
  4509. size_t base = GenericFill(db,params,static_cast<IfcTypeProcess*>(in));
  4510. // this data structure is not used yet, so there is no code generated to fill its members
  4511. return base;
  4512. }
  4513. // -----------------------------------------------------------------------------------------------------------
  4514. template <> size_t GenericFill<IfcProductDefinitionShape>(const DB& db, const LIST& params, IfcProductDefinitionShape* in)
  4515. {
  4516. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4517. // this data structure is not used yet, so there is no code generated to fill its members
  4518. return base;
  4519. }
  4520. // -----------------------------------------------------------------------------------------------------------
  4521. template <> size_t GenericFill<IfcProject>(const DB& db, const LIST& params, IfcProject* in)
  4522. {
  4523. size_t base = GenericFill(db,params,static_cast<IfcContext*>(in));
  4524. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcProject"); } return base;
  4525. }
  4526. // -----------------------------------------------------------------------------------------------------------
  4527. template <> size_t GenericFill<IfcProjectLibrary>(const DB& db, const LIST& params, IfcProjectLibrary* in)
  4528. {
  4529. size_t base = GenericFill(db,params,static_cast<IfcContext*>(in));
  4530. // this data structure is not used yet, so there is no code generated to fill its members
  4531. return base;
  4532. }
  4533. // -----------------------------------------------------------------------------------------------------------
  4534. template <> size_t GenericFill<IfcProjectOrder>(const DB& db, const LIST& params, IfcProjectOrder* in)
  4535. {
  4536. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4537. // this data structure is not used yet, so there is no code generated to fill its members
  4538. return base;
  4539. }
  4540. // -----------------------------------------------------------------------------------------------------------
  4541. template <> size_t GenericFill<IfcProjectionElement>(const DB& db, const LIST& params, IfcProjectionElement* in)
  4542. {
  4543. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementAddition*>(in));
  4544. // this data structure is not used yet, so there is no code generated to fill its members
  4545. return base;
  4546. }
  4547. // -----------------------------------------------------------------------------------------------------------
  4548. template <> size_t GenericFill<IfcSimpleProperty>(const DB& db, const LIST& params, IfcSimpleProperty* in)
  4549. {
  4550. size_t base = GenericFill(db,params,static_cast<IfcProperty*>(in));
  4551. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSimpleProperty"); } return base;
  4552. }
  4553. // -----------------------------------------------------------------------------------------------------------
  4554. template <> size_t GenericFill<IfcPropertyBoundedValue>(const DB& db, const LIST& params, IfcPropertyBoundedValue* in)
  4555. {
  4556. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4557. // this data structure is not used yet, so there is no code generated to fill its members
  4558. return base;
  4559. }
  4560. // -----------------------------------------------------------------------------------------------------------
  4561. template <> size_t GenericFill<IfcPropertyEnumeratedValue>(const DB& db, const LIST& params, IfcPropertyEnumeratedValue* in)
  4562. {
  4563. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4564. // this data structure is not used yet, so there is no code generated to fill its members
  4565. return base;
  4566. }
  4567. // -----------------------------------------------------------------------------------------------------------
  4568. template <> size_t GenericFill<IfcPropertyListValue>(const DB& db, const LIST& params, IfcPropertyListValue* in)
  4569. {
  4570. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4571. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertyListValue"); } do { // convert the 'ListValues' argument
  4572. boost::shared_ptr<const DataType> arg = params[base++];
  4573. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4574. try { GenericConvert( in->ListValues, arg, db ); break; }
  4575. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPropertyListValue to be a `LIST [1:?] OF IfcValue`")); }
  4576. } while(0);
  4577. do { // convert the 'Unit' argument
  4578. boost::shared_ptr<const DataType> arg = params[base++];
  4579. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4580. try { GenericConvert( in->Unit, arg, db ); break; }
  4581. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPropertyListValue to be a `IfcUnit`")); }
  4582. } while(0);
  4583. return base;
  4584. }
  4585. // -----------------------------------------------------------------------------------------------------------
  4586. template <> size_t GenericFill<IfcPropertyReferenceValue>(const DB& db, const LIST& params, IfcPropertyReferenceValue* in)
  4587. {
  4588. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4589. // this data structure is not used yet, so there is no code generated to fill its members
  4590. return base;
  4591. }
  4592. // -----------------------------------------------------------------------------------------------------------
  4593. template <> size_t GenericFill<IfcPropertySet>(const DB& db, const LIST& params, IfcPropertySet* in)
  4594. {
  4595. size_t base = GenericFill(db,params,static_cast<IfcPropertySetDefinition*>(in));
  4596. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcPropertySet"); } do { // convert the 'HasProperties' argument
  4597. boost::shared_ptr<const DataType> arg = params[base++];
  4598. try { GenericConvert( in->HasProperties, arg, db ); break; }
  4599. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcPropertySet to be a `SET [1:?] OF IfcProperty`")); }
  4600. } while(0);
  4601. return base;
  4602. }
  4603. // -----------------------------------------------------------------------------------------------------------
  4604. template <> size_t GenericFill<IfcPropertySingleValue>(const DB& db, const LIST& params, IfcPropertySingleValue* in)
  4605. {
  4606. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4607. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertySingleValue"); } do { // convert the 'NominalValue' argument
  4608. boost::shared_ptr<const DataType> arg = params[base++];
  4609. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4610. try { GenericConvert( in->NominalValue, arg, db ); break; }
  4611. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPropertySingleValue to be a `IfcValue`")); }
  4612. } while(0);
  4613. do { // convert the 'Unit' argument
  4614. boost::shared_ptr<const DataType> arg = params[base++];
  4615. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4616. try { GenericConvert( in->Unit, arg, db ); break; }
  4617. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPropertySingleValue to be a `IfcUnit`")); }
  4618. } while(0);
  4619. return base;
  4620. }
  4621. // -----------------------------------------------------------------------------------------------------------
  4622. template <> size_t GenericFill<IfcPropertyTableValue>(const DB& db, const LIST& params, IfcPropertyTableValue* in)
  4623. {
  4624. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4625. // this data structure is not used yet, so there is no code generated to fill its members
  4626. return base;
  4627. }
  4628. // -----------------------------------------------------------------------------------------------------------
  4629. template <> size_t GenericFill<IfcProtectiveDevice>(const DB& db, const LIST& params, IfcProtectiveDevice* in)
  4630. {
  4631. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  4632. // this data structure is not used yet, so there is no code generated to fill its members
  4633. return base;
  4634. }
  4635. // -----------------------------------------------------------------------------------------------------------
  4636. template <> size_t GenericFill<IfcProtectiveDeviceTrippingUnit>(const DB& db, const LIST& params, IfcProtectiveDeviceTrippingUnit* in)
  4637. {
  4638. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  4639. // this data structure is not used yet, so there is no code generated to fill its members
  4640. return base;
  4641. }
  4642. // -----------------------------------------------------------------------------------------------------------
  4643. template <> size_t GenericFill<IfcProtectiveDeviceTrippingUnitType>(const DB& db, const LIST& params, IfcProtectiveDeviceTrippingUnitType* in)
  4644. {
  4645. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4646. // this data structure is not used yet, so there is no code generated to fill its members
  4647. return base;
  4648. }
  4649. // -----------------------------------------------------------------------------------------------------------
  4650. template <> size_t GenericFill<IfcProtectiveDeviceType>(const DB& db, const LIST& params, IfcProtectiveDeviceType* in)
  4651. {
  4652. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4653. // this data structure is not used yet, so there is no code generated to fill its members
  4654. return base;
  4655. }
  4656. // -----------------------------------------------------------------------------------------------------------
  4657. template <> size_t GenericFill<IfcProxy>(const DB& db, const LIST& params, IfcProxy* in)
  4658. {
  4659. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  4660. // this data structure is not used yet, so there is no code generated to fill its members
  4661. return base;
  4662. }
  4663. // -----------------------------------------------------------------------------------------------------------
  4664. template <> size_t GenericFill<IfcPump>(const DB& db, const LIST& params, IfcPump* in)
  4665. {
  4666. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDevice*>(in));
  4667. // this data structure is not used yet, so there is no code generated to fill its members
  4668. return base;
  4669. }
  4670. // -----------------------------------------------------------------------------------------------------------
  4671. template <> size_t GenericFill<IfcPumpType>(const DB& db, const LIST& params, IfcPumpType* in)
  4672. {
  4673. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  4674. // this data structure is not used yet, so there is no code generated to fill its members
  4675. return base;
  4676. }
  4677. // -----------------------------------------------------------------------------------------------------------
  4678. template <> size_t GenericFill<IfcRailing>(const DB& db, const LIST& params, IfcRailing* in)
  4679. {
  4680. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4681. // this data structure is not used yet, so there is no code generated to fill its members
  4682. return base;
  4683. }
  4684. // -----------------------------------------------------------------------------------------------------------
  4685. template <> size_t GenericFill<IfcRailingType>(const DB& db, const LIST& params, IfcRailingType* in)
  4686. {
  4687. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4688. // this data structure is not used yet, so there is no code generated to fill its members
  4689. return base;
  4690. }
  4691. // -----------------------------------------------------------------------------------------------------------
  4692. template <> size_t GenericFill<IfcRamp>(const DB& db, const LIST& params, IfcRamp* in)
  4693. {
  4694. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4695. // this data structure is not used yet, so there is no code generated to fill its members
  4696. return base;
  4697. }
  4698. // -----------------------------------------------------------------------------------------------------------
  4699. template <> size_t GenericFill<IfcRampFlight>(const DB& db, const LIST& params, IfcRampFlight* in)
  4700. {
  4701. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4702. // this data structure is not used yet, so there is no code generated to fill its members
  4703. return base;
  4704. }
  4705. // -----------------------------------------------------------------------------------------------------------
  4706. template <> size_t GenericFill<IfcRampFlightType>(const DB& db, const LIST& params, IfcRampFlightType* in)
  4707. {
  4708. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4709. // this data structure is not used yet, so there is no code generated to fill its members
  4710. return base;
  4711. }
  4712. // -----------------------------------------------------------------------------------------------------------
  4713. template <> size_t GenericFill<IfcRampType>(const DB& db, const LIST& params, IfcRampType* in)
  4714. {
  4715. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4716. // this data structure is not used yet, so there is no code generated to fill its members
  4717. return base;
  4718. }
  4719. // -----------------------------------------------------------------------------------------------------------
  4720. template <> size_t GenericFill<IfcRationalBSplineCurveWithKnots>(const DB& db, const LIST& params, IfcRationalBSplineCurveWithKnots* in)
  4721. {
  4722. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurveWithKnots*>(in));
  4723. // this data structure is not used yet, so there is no code generated to fill its members
  4724. return base;
  4725. }
  4726. // -----------------------------------------------------------------------------------------------------------
  4727. template <> size_t GenericFill<IfcRationalBSplineSurfaceWithKnots>(const DB& db, const LIST& params, IfcRationalBSplineSurfaceWithKnots* in)
  4728. {
  4729. size_t base = GenericFill(db,params,static_cast<IfcBSplineSurfaceWithKnots*>(in));
  4730. // this data structure is not used yet, so there is no code generated to fill its members
  4731. return base;
  4732. }
  4733. // -----------------------------------------------------------------------------------------------------------
  4734. template <> size_t GenericFill<IfcRectangleProfileDef>(const DB& db, const LIST& params, IfcRectangleProfileDef* in)
  4735. {
  4736. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4737. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRectangleProfileDef"); } do { // convert the 'XDim' argument
  4738. boost::shared_ptr<const DataType> arg = params[base++];
  4739. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[0]=true; break; }
  4740. try { GenericConvert( in->XDim, arg, db ); break; }
  4741. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  4742. } while(0);
  4743. do { // convert the 'YDim' argument
  4744. boost::shared_ptr<const DataType> arg = params[base++];
  4745. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[1]=true; break; }
  4746. try { GenericConvert( in->YDim, arg, db ); break; }
  4747. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  4748. } while(0);
  4749. return base;
  4750. }
  4751. // -----------------------------------------------------------------------------------------------------------
  4752. template <> size_t GenericFill<IfcRectangleHollowProfileDef>(const DB& db, const LIST& params, IfcRectangleHollowProfileDef* in)
  4753. {
  4754. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  4755. // this data structure is not used yet, so there is no code generated to fill its members
  4756. return base;
  4757. }
  4758. // -----------------------------------------------------------------------------------------------------------
  4759. template <> size_t GenericFill<IfcRectangularPyramid>(const DB& db, const LIST& params, IfcRectangularPyramid* in)
  4760. {
  4761. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4762. // this data structure is not used yet, so there is no code generated to fill its members
  4763. return base;
  4764. }
  4765. // -----------------------------------------------------------------------------------------------------------
  4766. template <> size_t GenericFill<IfcRectangularTrimmedSurface>(const DB& db, const LIST& params, IfcRectangularTrimmedSurface* in)
  4767. {
  4768. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  4769. // this data structure is not used yet, so there is no code generated to fill its members
  4770. return base;
  4771. }
  4772. // -----------------------------------------------------------------------------------------------------------
  4773. template <> size_t GenericFill<IfcReinforcingElement>(const DB& db, const LIST& params, IfcReinforcingElement* in)
  4774. {
  4775. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  4776. // this data structure is not used yet, so there is no code generated to fill its members
  4777. return base;
  4778. }
  4779. // -----------------------------------------------------------------------------------------------------------
  4780. template <> size_t GenericFill<IfcReinforcingBar>(const DB& db, const LIST& params, IfcReinforcingBar* in)
  4781. {
  4782. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4783. // this data structure is not used yet, so there is no code generated to fill its members
  4784. return base;
  4785. }
  4786. // -----------------------------------------------------------------------------------------------------------
  4787. template <> size_t GenericFill<IfcReinforcingElementType>(const DB& db, const LIST& params, IfcReinforcingElementType* in)
  4788. {
  4789. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  4790. // this data structure is not used yet, so there is no code generated to fill its members
  4791. return base;
  4792. }
  4793. // -----------------------------------------------------------------------------------------------------------
  4794. template <> size_t GenericFill<IfcReinforcingBarType>(const DB& db, const LIST& params, IfcReinforcingBarType* in)
  4795. {
  4796. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  4797. // this data structure is not used yet, so there is no code generated to fill its members
  4798. return base;
  4799. }
  4800. // -----------------------------------------------------------------------------------------------------------
  4801. template <> size_t GenericFill<IfcReinforcingMesh>(const DB& db, const LIST& params, IfcReinforcingMesh* in)
  4802. {
  4803. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4804. // this data structure is not used yet, so there is no code generated to fill its members
  4805. return base;
  4806. }
  4807. // -----------------------------------------------------------------------------------------------------------
  4808. template <> size_t GenericFill<IfcReinforcingMeshType>(const DB& db, const LIST& params, IfcReinforcingMeshType* in)
  4809. {
  4810. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  4811. // this data structure is not used yet, so there is no code generated to fill its members
  4812. return base;
  4813. }
  4814. // -----------------------------------------------------------------------------------------------------------
  4815. template <> size_t GenericFill<IfcRelationship>(const DB& db, const LIST& params, IfcRelationship* in)
  4816. {
  4817. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  4818. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelationship"); } return base;
  4819. }
  4820. // -----------------------------------------------------------------------------------------------------------
  4821. template <> size_t GenericFill<IfcRelDecomposes>(const DB& db, const LIST& params, IfcRelDecomposes* in)
  4822. {
  4823. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4824. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelDecomposes"); } return base;
  4825. }
  4826. // -----------------------------------------------------------------------------------------------------------
  4827. template <> size_t GenericFill<IfcRelAggregates>(const DB& db, const LIST& params, IfcRelAggregates* in)
  4828. {
  4829. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  4830. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelAggregates"); } do { // convert the 'RelatingObject' argument
  4831. boost::shared_ptr<const DataType> arg = params[base++];
  4832. try { GenericConvert( in->RelatingObject, arg, db ); break; }
  4833. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelAggregates to be a `IfcObjectDefinition`")); }
  4834. } while(0);
  4835. do { // convert the 'RelatedObjects' argument
  4836. boost::shared_ptr<const DataType> arg = params[base++];
  4837. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  4838. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelAggregates to be a `SET [1:?] OF IfcObjectDefinition`")); }
  4839. } while(0);
  4840. return base;
  4841. }
  4842. // -----------------------------------------------------------------------------------------------------------
  4843. template <> size_t GenericFill<IfcRelConnects>(const DB& db, const LIST& params, IfcRelConnects* in)
  4844. {
  4845. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4846. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelConnects"); } return base;
  4847. }
  4848. // -----------------------------------------------------------------------------------------------------------
  4849. template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db, const LIST& params, IfcRelContainedInSpatialStructure* in)
  4850. {
  4851. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  4852. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
  4853. boost::shared_ptr<const DataType> arg = params[base++];
  4854. try { GenericConvert( in->RelatedElements, arg, db ); break; }
  4855. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
  4856. } while(0);
  4857. do { // convert the 'RelatingStructure' argument
  4858. boost::shared_ptr<const DataType> arg = params[base++];
  4859. try { GenericConvert( in->RelatingStructure, arg, db ); break; }
  4860. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelContainedInSpatialStructure to be a `IfcSpatialElement`")); }
  4861. } while(0);
  4862. return base;
  4863. }
  4864. // -----------------------------------------------------------------------------------------------------------
  4865. template <> size_t GenericFill<IfcRelDefines>(const DB& db, const LIST& params, IfcRelDefines* in)
  4866. {
  4867. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4868. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelDefines"); } return base;
  4869. }
  4870. // -----------------------------------------------------------------------------------------------------------
  4871. template <> size_t GenericFill<IfcRelDefinesByProperties>(const DB& db, const LIST& params, IfcRelDefinesByProperties* in)
  4872. {
  4873. size_t base = GenericFill(db,params,static_cast<IfcRelDefines*>(in));
  4874. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDefinesByProperties"); } do { // convert the 'RelatedObjects' argument
  4875. boost::shared_ptr<const DataType> arg = params[base++];
  4876. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  4877. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDefinesByProperties to be a `SET [1:?] OF IfcObjectDefinition`")); }
  4878. } while(0);
  4879. do { // convert the 'RelatingPropertyDefinition' argument
  4880. boost::shared_ptr<const DataType> arg = params[base++];
  4881. try { GenericConvert( in->RelatingPropertyDefinition, arg, db ); break; }
  4882. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDefinesByProperties to be a `IfcPropertySetDefinitionSelect`")); }
  4883. } while(0);
  4884. return base;
  4885. }
  4886. // -----------------------------------------------------------------------------------------------------------
  4887. template <> size_t GenericFill<IfcRelFillsElement>(const DB& db, const LIST& params, IfcRelFillsElement* in)
  4888. {
  4889. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  4890. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelFillsElement"); } do { // convert the 'RelatingOpeningElement' argument
  4891. boost::shared_ptr<const DataType> arg = params[base++];
  4892. try { GenericConvert( in->RelatingOpeningElement, arg, db ); break; }
  4893. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelFillsElement to be a `IfcOpeningElement`")); }
  4894. } while(0);
  4895. do { // convert the 'RelatedBuildingElement' argument
  4896. boost::shared_ptr<const DataType> arg = params[base++];
  4897. try { GenericConvert( in->RelatedBuildingElement, arg, db ); break; }
  4898. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelFillsElement to be a `IfcElement`")); }
  4899. } while(0);
  4900. return base;
  4901. }
  4902. // -----------------------------------------------------------------------------------------------------------
  4903. template <> size_t GenericFill<IfcRelVoidsElement>(const DB& db, const LIST& params, IfcRelVoidsElement* in)
  4904. {
  4905. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  4906. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelVoidsElement"); } do { // convert the 'RelatingBuildingElement' argument
  4907. boost::shared_ptr<const DataType> arg = params[base++];
  4908. try { GenericConvert( in->RelatingBuildingElement, arg, db ); break; }
  4909. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelVoidsElement to be a `IfcElement`")); }
  4910. } while(0);
  4911. do { // convert the 'RelatedOpeningElement' argument
  4912. boost::shared_ptr<const DataType> arg = params[base++];
  4913. try { GenericConvert( in->RelatedOpeningElement, arg, db ); break; }
  4914. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelVoidsElement to be a `IfcFeatureElementSubtraction`")); }
  4915. } while(0);
  4916. return base;
  4917. }
  4918. // -----------------------------------------------------------------------------------------------------------
  4919. template <> size_t GenericFill<IfcReparametrisedCompositeCurveSegment>(const DB& db, const LIST& params, IfcReparametrisedCompositeCurveSegment* in)
  4920. {
  4921. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurveSegment*>(in));
  4922. // this data structure is not used yet, so there is no code generated to fill its members
  4923. return base;
  4924. }
  4925. // -----------------------------------------------------------------------------------------------------------
  4926. template <> size_t GenericFill<IfcRepresentation>(const DB& db, const LIST& params, IfcRepresentation* in)
  4927. {
  4928. size_t base = 0;
  4929. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRepresentation"); } do { // convert the 'ContextOfItems' argument
  4930. boost::shared_ptr<const DataType> arg = params[base++];
  4931. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[0]=true; break; }
  4932. try { GenericConvert( in->ContextOfItems, arg, db ); break; }
  4933. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentation to be a `IfcRepresentationContext`")); }
  4934. } while(0);
  4935. do { // convert the 'RepresentationIdentifier' argument
  4936. boost::shared_ptr<const DataType> arg = params[base++];
  4937. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[1]=true; break; }
  4938. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4939. try { GenericConvert( in->RepresentationIdentifier, arg, db ); break; }
  4940. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentation to be a `IfcLabel`")); }
  4941. } while(0);
  4942. do { // convert the 'RepresentationType' argument
  4943. boost::shared_ptr<const DataType> arg = params[base++];
  4944. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[2]=true; break; }
  4945. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4946. try { GenericConvert( in->RepresentationType, arg, db ); break; }
  4947. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRepresentation to be a `IfcLabel`")); }
  4948. } while(0);
  4949. do { // convert the 'Items' argument
  4950. boost::shared_ptr<const DataType> arg = params[base++];
  4951. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[3]=true; break; }
  4952. try { GenericConvert( in->Items, arg, db ); break; }
  4953. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRepresentation to be a `SET [1:?] OF IfcRepresentationItem`")); }
  4954. } while(0);
  4955. return base;
  4956. }
  4957. // -----------------------------------------------------------------------------------------------------------
  4958. template <> size_t GenericFill<IfcRepresentationMap>(const DB& db, const LIST& params, IfcRepresentationMap* in)
  4959. {
  4960. size_t base = 0;
  4961. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationMap"); } do { // convert the 'MappingOrigin' argument
  4962. boost::shared_ptr<const DataType> arg = params[base++];
  4963. try { GenericConvert( in->MappingOrigin, arg, db ); break; }
  4964. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationMap to be a `IfcAxis2Placement`")); }
  4965. } while(0);
  4966. do { // convert the 'MappedRepresentation' argument
  4967. boost::shared_ptr<const DataType> arg = params[base++];
  4968. try { GenericConvert( in->MappedRepresentation, arg, db ); break; }
  4969. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationMap to be a `IfcRepresentation`")); }
  4970. } while(0);
  4971. return base;
  4972. }
  4973. // -----------------------------------------------------------------------------------------------------------
  4974. template <> size_t GenericFill<IfcRevolvedAreaSolid>(const DB& db, const LIST& params, IfcRevolvedAreaSolid* in)
  4975. {
  4976. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4977. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRevolvedAreaSolid"); } do { // convert the 'Axis' argument
  4978. boost::shared_ptr<const DataType> arg = params[base++];
  4979. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRevolvedAreaSolid,2>::aux_is_derived[0]=true; break; }
  4980. try { GenericConvert( in->Axis, arg, db ); break; }
  4981. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRevolvedAreaSolid to be a `IfcAxis1Placement`")); }
  4982. } while(0);
  4983. do { // convert the 'Angle' argument
  4984. boost::shared_ptr<const DataType> arg = params[base++];
  4985. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRevolvedAreaSolid,2>::aux_is_derived[1]=true; break; }
  4986. try { GenericConvert( in->Angle, arg, db ); break; }
  4987. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRevolvedAreaSolid to be a `IfcPlaneAngleMeasure`")); }
  4988. } while(0);
  4989. return base;
  4990. }
  4991. // -----------------------------------------------------------------------------------------------------------
  4992. template <> size_t GenericFill<IfcRevolvedAreaSolidTapered>(const DB& db, const LIST& params, IfcRevolvedAreaSolidTapered* in)
  4993. {
  4994. size_t base = GenericFill(db,params,static_cast<IfcRevolvedAreaSolid*>(in));
  4995. // this data structure is not used yet, so there is no code generated to fill its members
  4996. return base;
  4997. }
  4998. // -----------------------------------------------------------------------------------------------------------
  4999. template <> size_t GenericFill<IfcRightCircularCone>(const DB& db, const LIST& params, IfcRightCircularCone* in)
  5000. {
  5001. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  5002. // this data structure is not used yet, so there is no code generated to fill its members
  5003. return base;
  5004. }
  5005. // -----------------------------------------------------------------------------------------------------------
  5006. template <> size_t GenericFill<IfcRightCircularCylinder>(const DB& db, const LIST& params, IfcRightCircularCylinder* in)
  5007. {
  5008. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  5009. // this data structure is not used yet, so there is no code generated to fill its members
  5010. return base;
  5011. }
  5012. // -----------------------------------------------------------------------------------------------------------
  5013. template <> size_t GenericFill<IfcRoof>(const DB& db, const LIST& params, IfcRoof* in)
  5014. {
  5015. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5016. // this data structure is not used yet, so there is no code generated to fill its members
  5017. return base;
  5018. }
  5019. // -----------------------------------------------------------------------------------------------------------
  5020. template <> size_t GenericFill<IfcRoofType>(const DB& db, const LIST& params, IfcRoofType* in)
  5021. {
  5022. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5023. // this data structure is not used yet, so there is no code generated to fill its members
  5024. return base;
  5025. }
  5026. // -----------------------------------------------------------------------------------------------------------
  5027. template <> size_t GenericFill<IfcRoundedRectangleProfileDef>(const DB& db, const LIST& params, IfcRoundedRectangleProfileDef* in)
  5028. {
  5029. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  5030. // this data structure is not used yet, so there is no code generated to fill its members
  5031. return base;
  5032. }
  5033. // -----------------------------------------------------------------------------------------------------------
  5034. template <> size_t GenericFill<IfcSIUnit>(const DB& db, const LIST& params, IfcSIUnit* in)
  5035. {
  5036. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  5037. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcSIUnit"); } do { // convert the 'Prefix' argument
  5038. boost::shared_ptr<const DataType> arg = params[base++];
  5039. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5040. try { GenericConvert( in->Prefix, arg, db ); break; }
  5041. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSIUnit to be a `IfcSIPrefix`")); }
  5042. } while(0);
  5043. do { // convert the 'Name' argument
  5044. boost::shared_ptr<const DataType> arg = params[base++];
  5045. try { GenericConvert( in->Name, arg, db ); break; }
  5046. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSIUnit to be a `IfcSIUnitName`")); }
  5047. } while(0);
  5048. return base;
  5049. }
  5050. // -----------------------------------------------------------------------------------------------------------
  5051. template <> size_t GenericFill<IfcSanitaryTerminal>(const DB& db, const LIST& params, IfcSanitaryTerminal* in)
  5052. {
  5053. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  5054. // this data structure is not used yet, so there is no code generated to fill its members
  5055. return base;
  5056. }
  5057. // -----------------------------------------------------------------------------------------------------------
  5058. template <> size_t GenericFill<IfcSanitaryTerminalType>(const DB& db, const LIST& params, IfcSanitaryTerminalType* in)
  5059. {
  5060. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  5061. // this data structure is not used yet, so there is no code generated to fill its members
  5062. return base;
  5063. }
  5064. // -----------------------------------------------------------------------------------------------------------
  5065. template <> size_t GenericFill<IfcSeamCurve>(const DB& db, const LIST& params, IfcSeamCurve* in)
  5066. {
  5067. size_t base = GenericFill(db,params,static_cast<IfcSurfaceCurve*>(in));
  5068. // this data structure is not used yet, so there is no code generated to fill its members
  5069. return base;
  5070. }
  5071. // -----------------------------------------------------------------------------------------------------------
  5072. template <> size_t GenericFill<IfcSectionedSpine>(const DB& db, const LIST& params, IfcSectionedSpine* in)
  5073. {
  5074. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  5075. // this data structure is not used yet, so there is no code generated to fill its members
  5076. return base;
  5077. }
  5078. // -----------------------------------------------------------------------------------------------------------
  5079. template <> size_t GenericFill<IfcSensor>(const DB& db, const LIST& params, IfcSensor* in)
  5080. {
  5081. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  5082. // this data structure is not used yet, so there is no code generated to fill its members
  5083. return base;
  5084. }
  5085. // -----------------------------------------------------------------------------------------------------------
  5086. template <> size_t GenericFill<IfcSensorType>(const DB& db, const LIST& params, IfcSensorType* in)
  5087. {
  5088. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  5089. // this data structure is not used yet, so there is no code generated to fill its members
  5090. return base;
  5091. }
  5092. // -----------------------------------------------------------------------------------------------------------
  5093. template <> size_t GenericFill<IfcShadingDevice>(const DB& db, const LIST& params, IfcShadingDevice* in)
  5094. {
  5095. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5096. // this data structure is not used yet, so there is no code generated to fill its members
  5097. return base;
  5098. }
  5099. // -----------------------------------------------------------------------------------------------------------
  5100. template <> size_t GenericFill<IfcShadingDeviceType>(const DB& db, const LIST& params, IfcShadingDeviceType* in)
  5101. {
  5102. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5103. // this data structure is not used yet, so there is no code generated to fill its members
  5104. return base;
  5105. }
  5106. // -----------------------------------------------------------------------------------------------------------
  5107. template <> size_t GenericFill<IfcShapeModel>(const DB& db, const LIST& params, IfcShapeModel* in)
  5108. {
  5109. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  5110. // this data structure is not used yet, so there is no code generated to fill its members
  5111. return base;
  5112. }
  5113. // -----------------------------------------------------------------------------------------------------------
  5114. template <> size_t GenericFill<IfcShapeRepresentation>(const DB& db, const LIST& params, IfcShapeRepresentation* in)
  5115. {
  5116. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  5117. // this data structure is not used yet, so there is no code generated to fill its members
  5118. return base;
  5119. }
  5120. // -----------------------------------------------------------------------------------------------------------
  5121. template <> size_t GenericFill<IfcShellBasedSurfaceModel>(const DB& db, const LIST& params, IfcShellBasedSurfaceModel* in)
  5122. {
  5123. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  5124. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcShellBasedSurfaceModel"); } do { // convert the 'SbsmBoundary' argument
  5125. boost::shared_ptr<const DataType> arg = params[base++];
  5126. try { GenericConvert( in->SbsmBoundary, arg, db ); break; }
  5127. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcShellBasedSurfaceModel to be a `SET [1:?] OF IfcShell`")); }
  5128. } while(0);
  5129. return base;
  5130. }
  5131. // -----------------------------------------------------------------------------------------------------------
  5132. template <> size_t GenericFill<IfcSite>(const DB& db, const LIST& params, IfcSite* in)
  5133. {
  5134. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  5135. if (params.GetSize() < 14) { throw STEP::TypeError("expected 14 arguments to IfcSite"); } do { // convert the 'RefLatitude' argument
  5136. boost::shared_ptr<const DataType> arg = params[base++];
  5137. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5138. try { GenericConvert( in->RefLatitude, arg, db ); break; }
  5139. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  5140. } while(0);
  5141. do { // convert the 'RefLongitude' argument
  5142. boost::shared_ptr<const DataType> arg = params[base++];
  5143. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5144. try { GenericConvert( in->RefLongitude, arg, db ); break; }
  5145. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  5146. } while(0);
  5147. do { // convert the 'RefElevation' argument
  5148. boost::shared_ptr<const DataType> arg = params[base++];
  5149. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5150. try { GenericConvert( in->RefElevation, arg, db ); break; }
  5151. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcSite to be a `IfcLengthMeasure`")); }
  5152. } while(0);
  5153. do { // convert the 'LandTitleNumber' argument
  5154. boost::shared_ptr<const DataType> arg = params[base++];
  5155. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5156. try { GenericConvert( in->LandTitleNumber, arg, db ); break; }
  5157. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcSite to be a `IfcLabel`")); }
  5158. } while(0);
  5159. do { // convert the 'SiteAddress' argument
  5160. boost::shared_ptr<const DataType> arg = params[base++];
  5161. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5162. try { GenericConvert( in->SiteAddress, arg, db ); break; }
  5163. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 13 to IfcSite to be a `IfcPostalAddress`")); }
  5164. } while(0);
  5165. return base;
  5166. }
  5167. // -----------------------------------------------------------------------------------------------------------
  5168. template <> size_t GenericFill<IfcSlab>(const DB& db, const LIST& params, IfcSlab* in)
  5169. {
  5170. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5171. // this data structure is not used yet, so there is no code generated to fill its members
  5172. return base;
  5173. }
  5174. // -----------------------------------------------------------------------------------------------------------
  5175. template <> size_t GenericFill<IfcSlabElementedCase>(const DB& db, const LIST& params, IfcSlabElementedCase* in)
  5176. {
  5177. size_t base = GenericFill(db,params,static_cast<IfcSlab*>(in));
  5178. // this data structure is not used yet, so there is no code generated to fill its members
  5179. return base;
  5180. }
  5181. // -----------------------------------------------------------------------------------------------------------
  5182. template <> size_t GenericFill<IfcSlabStandardCase>(const DB& db, const LIST& params, IfcSlabStandardCase* in)
  5183. {
  5184. size_t base = GenericFill(db,params,static_cast<IfcSlab*>(in));
  5185. // this data structure is not used yet, so there is no code generated to fill its members
  5186. return base;
  5187. }
  5188. // -----------------------------------------------------------------------------------------------------------
  5189. template <> size_t GenericFill<IfcSlabType>(const DB& db, const LIST& params, IfcSlabType* in)
  5190. {
  5191. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5192. // this data structure is not used yet, so there is no code generated to fill its members
  5193. return base;
  5194. }
  5195. // -----------------------------------------------------------------------------------------------------------
  5196. template <> size_t GenericFill<IfcSolarDevice>(const DB& db, const LIST& params, IfcSolarDevice* in)
  5197. {
  5198. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5199. // this data structure is not used yet, so there is no code generated to fill its members
  5200. return base;
  5201. }
  5202. // -----------------------------------------------------------------------------------------------------------
  5203. template <> size_t GenericFill<IfcSolarDeviceType>(const DB& db, const LIST& params, IfcSolarDeviceType* in)
  5204. {
  5205. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5206. // this data structure is not used yet, so there is no code generated to fill its members
  5207. return base;
  5208. }
  5209. // -----------------------------------------------------------------------------------------------------------
  5210. template <> size_t GenericFill<IfcSpace>(const DB& db, const LIST& params, IfcSpace* in)
  5211. {
  5212. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  5213. if (params.GetSize() < 11) { throw STEP::TypeError("expected 11 arguments to IfcSpace"); } do { // convert the 'PredefinedType' argument
  5214. boost::shared_ptr<const DataType> arg = params[base++];
  5215. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5216. try { GenericConvert( in->PredefinedType, arg, db ); break; }
  5217. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSpace to be a `IfcSpaceTypeEnum`")); }
  5218. } while(0);
  5219. do { // convert the 'ElevationWithFlooring' argument
  5220. boost::shared_ptr<const DataType> arg = params[base++];
  5221. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5222. try { GenericConvert( in->ElevationWithFlooring, arg, db ); break; }
  5223. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSpace to be a `IfcLengthMeasure`")); }
  5224. } while(0);
  5225. return base;
  5226. }
  5227. // -----------------------------------------------------------------------------------------------------------
  5228. template <> size_t GenericFill<IfcSpaceHeater>(const DB& db, const LIST& params, IfcSpaceHeater* in)
  5229. {
  5230. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  5231. // this data structure is not used yet, so there is no code generated to fill its members
  5232. return base;
  5233. }
  5234. // -----------------------------------------------------------------------------------------------------------
  5235. template <> size_t GenericFill<IfcSpaceHeaterType>(const DB& db, const LIST& params, IfcSpaceHeaterType* in)
  5236. {
  5237. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  5238. // this data structure is not used yet, so there is no code generated to fill its members
  5239. return base;
  5240. }
  5241. // -----------------------------------------------------------------------------------------------------------
  5242. template <> size_t GenericFill<IfcSpatialElementType>(const DB& db, const LIST& params, IfcSpatialElementType* in)
  5243. {
  5244. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  5245. // this data structure is not used yet, so there is no code generated to fill its members
  5246. return base;
  5247. }
  5248. // -----------------------------------------------------------------------------------------------------------
  5249. template <> size_t GenericFill<IfcSpatialStructureElementType>(const DB& db, const LIST& params, IfcSpatialStructureElementType* in)
  5250. {
  5251. size_t base = GenericFill(db,params,static_cast<IfcSpatialElementType*>(in));
  5252. // this data structure is not used yet, so there is no code generated to fill its members
  5253. return base;
  5254. }
  5255. // -----------------------------------------------------------------------------------------------------------
  5256. template <> size_t GenericFill<IfcSpaceType>(const DB& db, const LIST& params, IfcSpaceType* in)
  5257. {
  5258. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElementType*>(in));
  5259. // this data structure is not used yet, so there is no code generated to fill its members
  5260. return base;
  5261. }
  5262. // -----------------------------------------------------------------------------------------------------------
  5263. template <> size_t GenericFill<IfcSpatialZone>(const DB& db, const LIST& params, IfcSpatialZone* in)
  5264. {
  5265. size_t base = GenericFill(db,params,static_cast<IfcSpatialElement*>(in));
  5266. // this data structure is not used yet, so there is no code generated to fill its members
  5267. return base;
  5268. }
  5269. // -----------------------------------------------------------------------------------------------------------
  5270. template <> size_t GenericFill<IfcSpatialZoneType>(const DB& db, const LIST& params, IfcSpatialZoneType* in)
  5271. {
  5272. size_t base = GenericFill(db,params,static_cast<IfcSpatialElementType*>(in));
  5273. // this data structure is not used yet, so there is no code generated to fill its members
  5274. return base;
  5275. }
  5276. // -----------------------------------------------------------------------------------------------------------
  5277. template <> size_t GenericFill<IfcSphere>(const DB& db, const LIST& params, IfcSphere* in)
  5278. {
  5279. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  5280. // this data structure is not used yet, so there is no code generated to fill its members
  5281. return base;
  5282. }
  5283. // -----------------------------------------------------------------------------------------------------------
  5284. template <> size_t GenericFill<IfcSphericalSurface>(const DB& db, const LIST& params, IfcSphericalSurface* in)
  5285. {
  5286. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  5287. // this data structure is not used yet, so there is no code generated to fill its members
  5288. return base;
  5289. }
  5290. // -----------------------------------------------------------------------------------------------------------
  5291. template <> size_t GenericFill<IfcStackTerminal>(const DB& db, const LIST& params, IfcStackTerminal* in)
  5292. {
  5293. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  5294. // this data structure is not used yet, so there is no code generated to fill its members
  5295. return base;
  5296. }
  5297. // -----------------------------------------------------------------------------------------------------------
  5298. template <> size_t GenericFill<IfcStackTerminalType>(const DB& db, const LIST& params, IfcStackTerminalType* in)
  5299. {
  5300. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  5301. // this data structure is not used yet, so there is no code generated to fill its members
  5302. return base;
  5303. }
  5304. // -----------------------------------------------------------------------------------------------------------
  5305. template <> size_t GenericFill<IfcStair>(const DB& db, const LIST& params, IfcStair* in)
  5306. {
  5307. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5308. // this data structure is not used yet, so there is no code generated to fill its members
  5309. return base;
  5310. }
  5311. // -----------------------------------------------------------------------------------------------------------
  5312. template <> size_t GenericFill<IfcStairFlight>(const DB& db, const LIST& params, IfcStairFlight* in)
  5313. {
  5314. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5315. // this data structure is not used yet, so there is no code generated to fill its members
  5316. return base;
  5317. }
  5318. // -----------------------------------------------------------------------------------------------------------
  5319. template <> size_t GenericFill<IfcStairFlightType>(const DB& db, const LIST& params, IfcStairFlightType* in)
  5320. {
  5321. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5322. // this data structure is not used yet, so there is no code generated to fill its members
  5323. return base;
  5324. }
  5325. // -----------------------------------------------------------------------------------------------------------
  5326. template <> size_t GenericFill<IfcStairType>(const DB& db, const LIST& params, IfcStairType* in)
  5327. {
  5328. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5329. // this data structure is not used yet, so there is no code generated to fill its members
  5330. return base;
  5331. }
  5332. // -----------------------------------------------------------------------------------------------------------
  5333. template <> size_t GenericFill<IfcStructuralActivity>(const DB& db, const LIST& params, IfcStructuralActivity* in)
  5334. {
  5335. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  5336. // this data structure is not used yet, so there is no code generated to fill its members
  5337. return base;
  5338. }
  5339. // -----------------------------------------------------------------------------------------------------------
  5340. template <> size_t GenericFill<IfcStructuralAction>(const DB& db, const LIST& params, IfcStructuralAction* in)
  5341. {
  5342. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  5343. // this data structure is not used yet, so there is no code generated to fill its members
  5344. return base;
  5345. }
  5346. // -----------------------------------------------------------------------------------------------------------
  5347. template <> size_t GenericFill<IfcStructuralAnalysisModel>(const DB& db, const LIST& params, IfcStructuralAnalysisModel* in)
  5348. {
  5349. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  5350. // this data structure is not used yet, so there is no code generated to fill its members
  5351. return base;
  5352. }
  5353. // -----------------------------------------------------------------------------------------------------------
  5354. template <> size_t GenericFill<IfcStructuralItem>(const DB& db, const LIST& params, IfcStructuralItem* in)
  5355. {
  5356. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  5357. // this data structure is not used yet, so there is no code generated to fill its members
  5358. return base;
  5359. }
  5360. // -----------------------------------------------------------------------------------------------------------
  5361. template <> size_t GenericFill<IfcStructuralConnection>(const DB& db, const LIST& params, IfcStructuralConnection* in)
  5362. {
  5363. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  5364. // this data structure is not used yet, so there is no code generated to fill its members
  5365. return base;
  5366. }
  5367. // -----------------------------------------------------------------------------------------------------------
  5368. template <> size_t GenericFill<IfcStructuralCurveAction>(const DB& db, const LIST& params, IfcStructuralCurveAction* in)
  5369. {
  5370. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  5371. // this data structure is not used yet, so there is no code generated to fill its members
  5372. return base;
  5373. }
  5374. // -----------------------------------------------------------------------------------------------------------
  5375. template <> size_t GenericFill<IfcStructuralCurveConnection>(const DB& db, const LIST& params, IfcStructuralCurveConnection* in)
  5376. {
  5377. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  5378. // this data structure is not used yet, so there is no code generated to fill its members
  5379. return base;
  5380. }
  5381. // -----------------------------------------------------------------------------------------------------------
  5382. template <> size_t GenericFill<IfcStructuralMember>(const DB& db, const LIST& params, IfcStructuralMember* in)
  5383. {
  5384. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  5385. // this data structure is not used yet, so there is no code generated to fill its members
  5386. return base;
  5387. }
  5388. // -----------------------------------------------------------------------------------------------------------
  5389. template <> size_t GenericFill<IfcStructuralCurveMember>(const DB& db, const LIST& params, IfcStructuralCurveMember* in)
  5390. {
  5391. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  5392. // this data structure is not used yet, so there is no code generated to fill its members
  5393. return base;
  5394. }
  5395. // -----------------------------------------------------------------------------------------------------------
  5396. template <> size_t GenericFill<IfcStructuralCurveMemberVarying>(const DB& db, const LIST& params, IfcStructuralCurveMemberVarying* in)
  5397. {
  5398. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveMember*>(in));
  5399. // this data structure is not used yet, so there is no code generated to fill its members
  5400. return base;
  5401. }
  5402. // -----------------------------------------------------------------------------------------------------------
  5403. template <> size_t GenericFill<IfcStructuralReaction>(const DB& db, const LIST& params, IfcStructuralReaction* in)
  5404. {
  5405. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  5406. // this data structure is not used yet, so there is no code generated to fill its members
  5407. return base;
  5408. }
  5409. // -----------------------------------------------------------------------------------------------------------
  5410. template <> size_t GenericFill<IfcStructuralCurveReaction>(const DB& db, const LIST& params, IfcStructuralCurveReaction* in)
  5411. {
  5412. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  5413. // this data structure is not used yet, so there is no code generated to fill its members
  5414. return base;
  5415. }
  5416. // -----------------------------------------------------------------------------------------------------------
  5417. template <> size_t GenericFill<IfcStructuralLinearAction>(const DB& db, const LIST& params, IfcStructuralLinearAction* in)
  5418. {
  5419. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveAction*>(in));
  5420. // this data structure is not used yet, so there is no code generated to fill its members
  5421. return base;
  5422. }
  5423. // -----------------------------------------------------------------------------------------------------------
  5424. template <> size_t GenericFill<IfcStructuralLoadGroup>(const DB& db, const LIST& params, IfcStructuralLoadGroup* in)
  5425. {
  5426. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  5427. // this data structure is not used yet, so there is no code generated to fill its members
  5428. return base;
  5429. }
  5430. // -----------------------------------------------------------------------------------------------------------
  5431. template <> size_t GenericFill<IfcStructuralLoadCase>(const DB& db, const LIST& params, IfcStructuralLoadCase* in)
  5432. {
  5433. size_t base = GenericFill(db,params,static_cast<IfcStructuralLoadGroup*>(in));
  5434. // this data structure is not used yet, so there is no code generated to fill its members
  5435. return base;
  5436. }
  5437. // -----------------------------------------------------------------------------------------------------------
  5438. template <> size_t GenericFill<IfcStructuralSurfaceAction>(const DB& db, const LIST& params, IfcStructuralSurfaceAction* in)
  5439. {
  5440. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  5441. // this data structure is not used yet, so there is no code generated to fill its members
  5442. return base;
  5443. }
  5444. // -----------------------------------------------------------------------------------------------------------
  5445. template <> size_t GenericFill<IfcStructuralPlanarAction>(const DB& db, const LIST& params, IfcStructuralPlanarAction* in)
  5446. {
  5447. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceAction*>(in));
  5448. // this data structure is not used yet, so there is no code generated to fill its members
  5449. return base;
  5450. }
  5451. // -----------------------------------------------------------------------------------------------------------
  5452. template <> size_t GenericFill<IfcStructuralPointAction>(const DB& db, const LIST& params, IfcStructuralPointAction* in)
  5453. {
  5454. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  5455. // this data structure is not used yet, so there is no code generated to fill its members
  5456. return base;
  5457. }
  5458. // -----------------------------------------------------------------------------------------------------------
  5459. template <> size_t GenericFill<IfcStructuralPointConnection>(const DB& db, const LIST& params, IfcStructuralPointConnection* in)
  5460. {
  5461. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  5462. // this data structure is not used yet, so there is no code generated to fill its members
  5463. return base;
  5464. }
  5465. // -----------------------------------------------------------------------------------------------------------
  5466. template <> size_t GenericFill<IfcStructuralPointReaction>(const DB& db, const LIST& params, IfcStructuralPointReaction* in)
  5467. {
  5468. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  5469. // this data structure is not used yet, so there is no code generated to fill its members
  5470. return base;
  5471. }
  5472. // -----------------------------------------------------------------------------------------------------------
  5473. template <> size_t GenericFill<IfcStructuralResultGroup>(const DB& db, const LIST& params, IfcStructuralResultGroup* in)
  5474. {
  5475. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  5476. // this data structure is not used yet, so there is no code generated to fill its members
  5477. return base;
  5478. }
  5479. // -----------------------------------------------------------------------------------------------------------
  5480. template <> size_t GenericFill<IfcStructuralSurfaceConnection>(const DB& db, const LIST& params, IfcStructuralSurfaceConnection* in)
  5481. {
  5482. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  5483. // this data structure is not used yet, so there is no code generated to fill its members
  5484. return base;
  5485. }
  5486. // -----------------------------------------------------------------------------------------------------------
  5487. template <> size_t GenericFill<IfcStructuralSurfaceMember>(const DB& db, const LIST& params, IfcStructuralSurfaceMember* in)
  5488. {
  5489. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  5490. // this data structure is not used yet, so there is no code generated to fill its members
  5491. return base;
  5492. }
  5493. // -----------------------------------------------------------------------------------------------------------
  5494. template <> size_t GenericFill<IfcStructuralSurfaceMemberVarying>(const DB& db, const LIST& params, IfcStructuralSurfaceMemberVarying* in)
  5495. {
  5496. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceMember*>(in));
  5497. // this data structure is not used yet, so there is no code generated to fill its members
  5498. return base;
  5499. }
  5500. // -----------------------------------------------------------------------------------------------------------
  5501. template <> size_t GenericFill<IfcStructuralSurfaceReaction>(const DB& db, const LIST& params, IfcStructuralSurfaceReaction* in)
  5502. {
  5503. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  5504. // this data structure is not used yet, so there is no code generated to fill its members
  5505. return base;
  5506. }
  5507. // -----------------------------------------------------------------------------------------------------------
  5508. template <> size_t GenericFill<IfcStyleModel>(const DB& db, const LIST& params, IfcStyleModel* in)
  5509. {
  5510. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  5511. // this data structure is not used yet, so there is no code generated to fill its members
  5512. return base;
  5513. }
  5514. // -----------------------------------------------------------------------------------------------------------
  5515. template <> size_t GenericFill<IfcStyledItem>(const DB& db, const LIST& params, IfcStyledItem* in)
  5516. {
  5517. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  5518. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcStyledItem"); } do { // convert the 'Item' argument
  5519. boost::shared_ptr<const DataType> arg = params[base++];
  5520. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5521. try { GenericConvert( in->Item, arg, db ); break; }
  5522. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcStyledItem to be a `IfcRepresentationItem`")); }
  5523. } while(0);
  5524. do { // convert the 'Styles' argument
  5525. boost::shared_ptr<const DataType> arg = params[base++];
  5526. try { GenericConvert( in->Styles, arg, db ); break; }
  5527. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcStyledItem to be a `SET [1:?] OF IfcStyleAssignmentSelect`")); }
  5528. } while(0);
  5529. do { // convert the 'Name' argument
  5530. boost::shared_ptr<const DataType> arg = params[base++];
  5531. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5532. try { GenericConvert( in->Name, arg, db ); break; }
  5533. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcStyledItem to be a `IfcLabel`")); }
  5534. } while(0);
  5535. return base;
  5536. }
  5537. // -----------------------------------------------------------------------------------------------------------
  5538. template <> size_t GenericFill<IfcStyledRepresentation>(const DB& db, const LIST& params, IfcStyledRepresentation* in)
  5539. {
  5540. size_t base = GenericFill(db,params,static_cast<IfcStyleModel*>(in));
  5541. // this data structure is not used yet, so there is no code generated to fill its members
  5542. return base;
  5543. }
  5544. // -----------------------------------------------------------------------------------------------------------
  5545. template <> size_t GenericFill<IfcSubContractResource>(const DB& db, const LIST& params, IfcSubContractResource* in)
  5546. {
  5547. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  5548. // this data structure is not used yet, so there is no code generated to fill its members
  5549. return base;
  5550. }
  5551. // -----------------------------------------------------------------------------------------------------------
  5552. template <> size_t GenericFill<IfcSubContractResourceType>(const DB& db, const LIST& params, IfcSubContractResourceType* in)
  5553. {
  5554. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  5555. // this data structure is not used yet, so there is no code generated to fill its members
  5556. return base;
  5557. }
  5558. // -----------------------------------------------------------------------------------------------------------
  5559. template <> size_t GenericFill<IfcSubedge>(const DB& db, const LIST& params, IfcSubedge* in)
  5560. {
  5561. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  5562. // this data structure is not used yet, so there is no code generated to fill its members
  5563. return base;
  5564. }
  5565. // -----------------------------------------------------------------------------------------------------------
  5566. template <> size_t GenericFill<IfcSurfaceCurveSweptAreaSolid>(const DB& db, const LIST& params, IfcSurfaceCurveSweptAreaSolid* in)
  5567. {
  5568. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  5569. // this data structure is not used yet, so there is no code generated to fill its members
  5570. return base;
  5571. }
  5572. // -----------------------------------------------------------------------------------------------------------
  5573. template <> size_t GenericFill<IfcSurfaceFeature>(const DB& db, const LIST& params, IfcSurfaceFeature* in)
  5574. {
  5575. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  5576. // this data structure is not used yet, so there is no code generated to fill its members
  5577. return base;
  5578. }
  5579. // -----------------------------------------------------------------------------------------------------------
  5580. template <> size_t GenericFill<IfcSweptSurface>(const DB& db, const LIST& params, IfcSweptSurface* in)
  5581. {
  5582. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  5583. // this data structure is not used yet, so there is no code generated to fill its members
  5584. return base;
  5585. }
  5586. // -----------------------------------------------------------------------------------------------------------
  5587. template <> size_t GenericFill<IfcSurfaceOfLinearExtrusion>(const DB& db, const LIST& params, IfcSurfaceOfLinearExtrusion* in)
  5588. {
  5589. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  5590. // this data structure is not used yet, so there is no code generated to fill its members
  5591. return base;
  5592. }
  5593. // -----------------------------------------------------------------------------------------------------------
  5594. template <> size_t GenericFill<IfcSurfaceOfRevolution>(const DB& db, const LIST& params, IfcSurfaceOfRevolution* in)
  5595. {
  5596. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  5597. // this data structure is not used yet, so there is no code generated to fill its members
  5598. return base;
  5599. }
  5600. // -----------------------------------------------------------------------------------------------------------
  5601. template <> size_t GenericFill<IfcSurfaceStyle>(const DB& db, const LIST& params, IfcSurfaceStyle* in)
  5602. {
  5603. size_t base = GenericFill(db,params,static_cast<IfcPresentationStyle*>(in));
  5604. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcSurfaceStyle"); } do { // convert the 'Side' argument
  5605. boost::shared_ptr<const DataType> arg = params[base++];
  5606. try { GenericConvert( in->Side, arg, db ); break; }
  5607. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyle to be a `IfcSurfaceSide`")); }
  5608. } while(0);
  5609. do { // convert the 'Styles' argument
  5610. boost::shared_ptr<const DataType> arg = params[base++];
  5611. try { GenericConvert( in->Styles, arg, db ); break; }
  5612. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyle to be a `SET [1:5] OF IfcSurfaceStyleElementSelect`")); }
  5613. } while(0);
  5614. return base;
  5615. }
  5616. // -----------------------------------------------------------------------------------------------------------
  5617. template <> size_t GenericFill<IfcSurfaceStyleShading>(const DB& db, const LIST& params, IfcSurfaceStyleShading* in)
  5618. {
  5619. size_t base = GenericFill(db,params,static_cast<IfcPresentationItem*>(in));
  5620. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSurfaceStyleShading"); } do { // convert the 'SurfaceColour' argument
  5621. boost::shared_ptr<const DataType> arg = params[base++];
  5622. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,2>::aux_is_derived[0]=true; break; }
  5623. try { GenericConvert( in->SurfaceColour, arg, db ); break; }
  5624. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleShading to be a `IfcColourRgb`")); }
  5625. } while(0);
  5626. do { // convert the 'Transparency' argument
  5627. boost::shared_ptr<const DataType> arg = params[base++];
  5628. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,2>::aux_is_derived[1]=true; break; }
  5629. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5630. try { GenericConvert( in->Transparency, arg, db ); break; }
  5631. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyleShading to be a `IfcNormalisedRatioMeasure`")); }
  5632. } while(0);
  5633. return base;
  5634. }
  5635. // -----------------------------------------------------------------------------------------------------------
  5636. template <> size_t GenericFill<IfcSurfaceStyleRendering>(const DB& db, const LIST& params, IfcSurfaceStyleRendering* in)
  5637. {
  5638. size_t base = GenericFill(db,params,static_cast<IfcSurfaceStyleShading*>(in));
  5639. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSurfaceStyleRendering"); } do { // convert the 'DiffuseColour' argument
  5640. boost::shared_ptr<const DataType> arg = params[base++];
  5641. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5642. try { GenericConvert( in->DiffuseColour, arg, db ); break; }
  5643. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5644. } while(0);
  5645. do { // convert the 'TransmissionColour' argument
  5646. boost::shared_ptr<const DataType> arg = params[base++];
  5647. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5648. try { GenericConvert( in->TransmissionColour, arg, db ); break; }
  5649. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5650. } while(0);
  5651. do { // convert the 'DiffuseTransmissionColour' argument
  5652. boost::shared_ptr<const DataType> arg = params[base++];
  5653. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5654. try { GenericConvert( in->DiffuseTransmissionColour, arg, db ); break; }
  5655. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5656. } while(0);
  5657. do { // convert the 'ReflectionColour' argument
  5658. boost::shared_ptr<const DataType> arg = params[base++];
  5659. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5660. try { GenericConvert( in->ReflectionColour, arg, db ); break; }
  5661. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5662. } while(0);
  5663. do { // convert the 'SpecularColour' argument
  5664. boost::shared_ptr<const DataType> arg = params[base++];
  5665. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5666. try { GenericConvert( in->SpecularColour, arg, db ); break; }
  5667. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5668. } while(0);
  5669. do { // convert the 'SpecularHighlight' argument
  5670. boost::shared_ptr<const DataType> arg = params[base++];
  5671. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5672. try { GenericConvert( in->SpecularHighlight, arg, db ); break; }
  5673. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSurfaceStyleRendering to be a `IfcSpecularHighlightSelect`")); }
  5674. } while(0);
  5675. do { // convert the 'ReflectanceMethod' argument
  5676. boost::shared_ptr<const DataType> arg = params[base++];
  5677. try { GenericConvert( in->ReflectanceMethod, arg, db ); break; }
  5678. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSurfaceStyleRendering to be a `IfcReflectanceMethodEnum`")); }
  5679. } while(0);
  5680. return base;
  5681. }
  5682. // -----------------------------------------------------------------------------------------------------------
  5683. template <> size_t GenericFill<IfcSurfaceStyleWithTextures>(const DB& db, const LIST& params, IfcSurfaceStyleWithTextures* in)
  5684. {
  5685. size_t base = GenericFill(db,params,static_cast<IfcPresentationItem*>(in));
  5686. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleWithTextures"); } do { // convert the 'Textures' argument
  5687. boost::shared_ptr<const DataType> arg = params[base++];
  5688. try { GenericConvert( in->Textures, arg, db ); break; }
  5689. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleWithTextures to be a `LIST [1:?] OF IfcSurfaceTexture`")); }
  5690. } while(0);
  5691. return base;
  5692. }
  5693. // -----------------------------------------------------------------------------------------------------------
  5694. template <> size_t GenericFill<IfcSweptDiskSolid>(const DB& db, const LIST& params, IfcSweptDiskSolid* in)
  5695. {
  5696. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  5697. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcSweptDiskSolid"); } do { // convert the 'Directrix' argument
  5698. boost::shared_ptr<const DataType> arg = params[base++];
  5699. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[0]=true; break; }
  5700. try { GenericConvert( in->Directrix, arg, db ); break; }
  5701. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptDiskSolid to be a `IfcCurve`")); }
  5702. } while(0);
  5703. do { // convert the 'Radius' argument
  5704. boost::shared_ptr<const DataType> arg = params[base++];
  5705. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[1]=true; break; }
  5706. try { GenericConvert( in->Radius, arg, db ); break; }
  5707. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  5708. } while(0);
  5709. do { // convert the 'InnerRadius' argument
  5710. boost::shared_ptr<const DataType> arg = params[base++];
  5711. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[2]=true; break; }
  5712. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5713. try { GenericConvert( in->InnerRadius, arg, db ); break; }
  5714. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  5715. } while(0);
  5716. do { // convert the 'StartParam' argument
  5717. boost::shared_ptr<const DataType> arg = params[base++];
  5718. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[3]=true; break; }
  5719. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5720. try { GenericConvert( in->StartParam, arg, db ); break; }
  5721. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  5722. } while(0);
  5723. do { // convert the 'EndParam' argument
  5724. boost::shared_ptr<const DataType> arg = params[base++];
  5725. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[4]=true; break; }
  5726. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5727. try { GenericConvert( in->EndParam, arg, db ); break; }
  5728. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  5729. } while(0);
  5730. return base;
  5731. }
  5732. // -----------------------------------------------------------------------------------------------------------
  5733. template <> size_t GenericFill<IfcSweptDiskSolidPolygonal>(const DB& db, const LIST& params, IfcSweptDiskSolidPolygonal* in)
  5734. {
  5735. size_t base = GenericFill(db,params,static_cast<IfcSweptDiskSolid*>(in));
  5736. // this data structure is not used yet, so there is no code generated to fill its members
  5737. return base;
  5738. }
  5739. // -----------------------------------------------------------------------------------------------------------
  5740. template <> size_t GenericFill<IfcSwitchingDevice>(const DB& db, const LIST& params, IfcSwitchingDevice* in)
  5741. {
  5742. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  5743. // this data structure is not used yet, so there is no code generated to fill its members
  5744. return base;
  5745. }
  5746. // -----------------------------------------------------------------------------------------------------------
  5747. template <> size_t GenericFill<IfcSwitchingDeviceType>(const DB& db, const LIST& params, IfcSwitchingDeviceType* in)
  5748. {
  5749. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  5750. // this data structure is not used yet, so there is no code generated to fill its members
  5751. return base;
  5752. }
  5753. // -----------------------------------------------------------------------------------------------------------
  5754. template <> size_t GenericFill<IfcSystemFurnitureElement>(const DB& db, const LIST& params, IfcSystemFurnitureElement* in)
  5755. {
  5756. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElement*>(in));
  5757. // this data structure is not used yet, so there is no code generated to fill its members
  5758. return base;
  5759. }
  5760. // -----------------------------------------------------------------------------------------------------------
  5761. template <> size_t GenericFill<IfcSystemFurnitureElementType>(const DB& db, const LIST& params, IfcSystemFurnitureElementType* in)
  5762. {
  5763. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  5764. // this data structure is not used yet, so there is no code generated to fill its members
  5765. return base;
  5766. }
  5767. // -----------------------------------------------------------------------------------------------------------
  5768. template <> size_t GenericFill<IfcTShapeProfileDef>(const DB& db, const LIST& params, IfcTShapeProfileDef* in)
  5769. {
  5770. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5771. // this data structure is not used yet, so there is no code generated to fill its members
  5772. return base;
  5773. }
  5774. // -----------------------------------------------------------------------------------------------------------
  5775. template <> size_t GenericFill<IfcTank>(const DB& db, const LIST& params, IfcTank* in)
  5776. {
  5777. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDevice*>(in));
  5778. // this data structure is not used yet, so there is no code generated to fill its members
  5779. return base;
  5780. }
  5781. // -----------------------------------------------------------------------------------------------------------
  5782. template <> size_t GenericFill<IfcTankType>(const DB& db, const LIST& params, IfcTankType* in)
  5783. {
  5784. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  5785. // this data structure is not used yet, so there is no code generated to fill its members
  5786. return base;
  5787. }
  5788. // -----------------------------------------------------------------------------------------------------------
  5789. template <> size_t GenericFill<IfcTask>(const DB& db, const LIST& params, IfcTask* in)
  5790. {
  5791. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  5792. // this data structure is not used yet, so there is no code generated to fill its members
  5793. return base;
  5794. }
  5795. // -----------------------------------------------------------------------------------------------------------
  5796. template <> size_t GenericFill<IfcTaskType>(const DB& db, const LIST& params, IfcTaskType* in)
  5797. {
  5798. size_t base = GenericFill(db,params,static_cast<IfcTypeProcess*>(in));
  5799. // this data structure is not used yet, so there is no code generated to fill its members
  5800. return base;
  5801. }
  5802. // -----------------------------------------------------------------------------------------------------------
  5803. template <> size_t GenericFill<IfcTendon>(const DB& db, const LIST& params, IfcTendon* in)
  5804. {
  5805. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  5806. // this data structure is not used yet, so there is no code generated to fill its members
  5807. return base;
  5808. }
  5809. // -----------------------------------------------------------------------------------------------------------
  5810. template <> size_t GenericFill<IfcTendonAnchor>(const DB& db, const LIST& params, IfcTendonAnchor* in)
  5811. {
  5812. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  5813. // this data structure is not used yet, so there is no code generated to fill its members
  5814. return base;
  5815. }
  5816. // -----------------------------------------------------------------------------------------------------------
  5817. template <> size_t GenericFill<IfcTendonAnchorType>(const DB& db, const LIST& params, IfcTendonAnchorType* in)
  5818. {
  5819. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  5820. // this data structure is not used yet, so there is no code generated to fill its members
  5821. return base;
  5822. }
  5823. // -----------------------------------------------------------------------------------------------------------
  5824. template <> size_t GenericFill<IfcTendonType>(const DB& db, const LIST& params, IfcTendonType* in)
  5825. {
  5826. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  5827. // this data structure is not used yet, so there is no code generated to fill its members
  5828. return base;
  5829. }
  5830. // -----------------------------------------------------------------------------------------------------------
  5831. template <> size_t GenericFill<IfcTextLiteral>(const DB& db, const LIST& params, IfcTextLiteral* in)
  5832. {
  5833. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  5834. // this data structure is not used yet, so there is no code generated to fill its members
  5835. return base;
  5836. }
  5837. // -----------------------------------------------------------------------------------------------------------
  5838. template <> size_t GenericFill<IfcTextLiteralWithExtent>(const DB& db, const LIST& params, IfcTextLiteralWithExtent* in)
  5839. {
  5840. size_t base = GenericFill(db,params,static_cast<IfcTextLiteral*>(in));
  5841. // this data structure is not used yet, so there is no code generated to fill its members
  5842. return base;
  5843. }
  5844. // -----------------------------------------------------------------------------------------------------------
  5845. template <> size_t GenericFill<IfcTopologyRepresentation>(const DB& db, const LIST& params, IfcTopologyRepresentation* in)
  5846. {
  5847. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  5848. // this data structure is not used yet, so there is no code generated to fill its members
  5849. return base;
  5850. }
  5851. // -----------------------------------------------------------------------------------------------------------
  5852. template <> size_t GenericFill<IfcToroidalSurface>(const DB& db, const LIST& params, IfcToroidalSurface* in)
  5853. {
  5854. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  5855. // this data structure is not used yet, so there is no code generated to fill its members
  5856. return base;
  5857. }
  5858. // -----------------------------------------------------------------------------------------------------------
  5859. template <> size_t GenericFill<IfcTransformer>(const DB& db, const LIST& params, IfcTransformer* in)
  5860. {
  5861. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5862. // this data structure is not used yet, so there is no code generated to fill its members
  5863. return base;
  5864. }
  5865. // -----------------------------------------------------------------------------------------------------------
  5866. template <> size_t GenericFill<IfcTransformerType>(const DB& db, const LIST& params, IfcTransformerType* in)
  5867. {
  5868. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5869. // this data structure is not used yet, so there is no code generated to fill its members
  5870. return base;
  5871. }
  5872. // -----------------------------------------------------------------------------------------------------------
  5873. template <> size_t GenericFill<IfcTransportElement>(const DB& db, const LIST& params, IfcTransportElement* in)
  5874. {
  5875. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  5876. // this data structure is not used yet, so there is no code generated to fill its members
  5877. return base;
  5878. }
  5879. // -----------------------------------------------------------------------------------------------------------
  5880. template <> size_t GenericFill<IfcTransportElementType>(const DB& db, const LIST& params, IfcTransportElementType* in)
  5881. {
  5882. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  5883. // this data structure is not used yet, so there is no code generated to fill its members
  5884. return base;
  5885. }
  5886. // -----------------------------------------------------------------------------------------------------------
  5887. template <> size_t GenericFill<IfcTrapeziumProfileDef>(const DB& db, const LIST& params, IfcTrapeziumProfileDef* in)
  5888. {
  5889. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5890. // this data structure is not used yet, so there is no code generated to fill its members
  5891. return base;
  5892. }
  5893. // -----------------------------------------------------------------------------------------------------------
  5894. template <> size_t GenericFill<IfcTriangulatedFaceSet>(const DB& db, const LIST& params, IfcTriangulatedFaceSet* in)
  5895. {
  5896. size_t base = GenericFill(db,params,static_cast<IfcTessellatedFaceSet*>(in));
  5897. // this data structure is not used yet, so there is no code generated to fill its members
  5898. return base;
  5899. }
  5900. // -----------------------------------------------------------------------------------------------------------
  5901. template <> size_t GenericFill<IfcTrimmedCurve>(const DB& db, const LIST& params, IfcTrimmedCurve* in)
  5902. {
  5903. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  5904. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcTrimmedCurve"); } do { // convert the 'BasisCurve' argument
  5905. boost::shared_ptr<const DataType> arg = params[base++];
  5906. try { GenericConvert( in->BasisCurve, arg, db ); break; }
  5907. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcTrimmedCurve to be a `IfcCurve`")); }
  5908. } while(0);
  5909. do { // convert the 'Trim1' argument
  5910. boost::shared_ptr<const DataType> arg = params[base++];
  5911. try { GenericConvert( in->Trim1, arg, db ); break; }
  5912. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  5913. } while(0);
  5914. do { // convert the 'Trim2' argument
  5915. boost::shared_ptr<const DataType> arg = params[base++];
  5916. try { GenericConvert( in->Trim2, arg, db ); break; }
  5917. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  5918. } while(0);
  5919. do { // convert the 'SenseAgreement' argument
  5920. boost::shared_ptr<const DataType> arg = params[base++];
  5921. try { GenericConvert( in->SenseAgreement, arg, db ); break; }
  5922. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcTrimmedCurve to be a `IfcBoolean`")); }
  5923. } while(0);
  5924. do { // convert the 'MasterRepresentation' argument
  5925. boost::shared_ptr<const DataType> arg = params[base++];
  5926. try { GenericConvert( in->MasterRepresentation, arg, db ); break; }
  5927. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcTrimmedCurve to be a `IfcTrimmingPreference`")); }
  5928. } while(0);
  5929. return base;
  5930. }
  5931. // -----------------------------------------------------------------------------------------------------------
  5932. template <> size_t GenericFill<IfcTubeBundle>(const DB& db, const LIST& params, IfcTubeBundle* in)
  5933. {
  5934. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5935. // this data structure is not used yet, so there is no code generated to fill its members
  5936. return base;
  5937. }
  5938. // -----------------------------------------------------------------------------------------------------------
  5939. template <> size_t GenericFill<IfcTubeBundleType>(const DB& db, const LIST& params, IfcTubeBundleType* in)
  5940. {
  5941. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5942. // this data structure is not used yet, so there is no code generated to fill its members
  5943. return base;
  5944. }
  5945. // -----------------------------------------------------------------------------------------------------------
  5946. template <> size_t GenericFill<IfcUShapeProfileDef>(const DB& db, const LIST& params, IfcUShapeProfileDef* in)
  5947. {
  5948. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5949. // this data structure is not used yet, so there is no code generated to fill its members
  5950. return base;
  5951. }
  5952. // -----------------------------------------------------------------------------------------------------------
  5953. template <> size_t GenericFill<IfcUnitAssignment>(const DB& db, const LIST& params, IfcUnitAssignment* in)
  5954. {
  5955. size_t base = 0;
  5956. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcUnitAssignment"); } do { // convert the 'Units' argument
  5957. boost::shared_ptr<const DataType> arg = params[base++];
  5958. try { GenericConvert( in->Units, arg, db ); break; }
  5959. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcUnitAssignment to be a `SET [1:?] OF IfcUnit`")); }
  5960. } while(0);
  5961. return base;
  5962. }
  5963. // -----------------------------------------------------------------------------------------------------------
  5964. template <> size_t GenericFill<IfcUnitaryControlElement>(const DB& db, const LIST& params, IfcUnitaryControlElement* in)
  5965. {
  5966. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  5967. // this data structure is not used yet, so there is no code generated to fill its members
  5968. return base;
  5969. }
  5970. // -----------------------------------------------------------------------------------------------------------
  5971. template <> size_t GenericFill<IfcUnitaryControlElementType>(const DB& db, const LIST& params, IfcUnitaryControlElementType* in)
  5972. {
  5973. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  5974. // this data structure is not used yet, so there is no code generated to fill its members
  5975. return base;
  5976. }
  5977. // -----------------------------------------------------------------------------------------------------------
  5978. template <> size_t GenericFill<IfcUnitaryEquipment>(const DB& db, const LIST& params, IfcUnitaryEquipment* in)
  5979. {
  5980. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5981. // this data structure is not used yet, so there is no code generated to fill its members
  5982. return base;
  5983. }
  5984. // -----------------------------------------------------------------------------------------------------------
  5985. template <> size_t GenericFill<IfcUnitaryEquipmentType>(const DB& db, const LIST& params, IfcUnitaryEquipmentType* in)
  5986. {
  5987. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5988. // this data structure is not used yet, so there is no code generated to fill its members
  5989. return base;
  5990. }
  5991. // -----------------------------------------------------------------------------------------------------------
  5992. template <> size_t GenericFill<IfcValve>(const DB& db, const LIST& params, IfcValve* in)
  5993. {
  5994. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  5995. // this data structure is not used yet, so there is no code generated to fill its members
  5996. return base;
  5997. }
  5998. // -----------------------------------------------------------------------------------------------------------
  5999. template <> size_t GenericFill<IfcValveType>(const DB& db, const LIST& params, IfcValveType* in)
  6000. {
  6001. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  6002. // this data structure is not used yet, so there is no code generated to fill its members
  6003. return base;
  6004. }
  6005. // -----------------------------------------------------------------------------------------------------------
  6006. template <> size_t GenericFill<IfcVector>(const DB& db, const LIST& params, IfcVector* in)
  6007. {
  6008. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  6009. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcVector"); } do { // convert the 'Orientation' argument
  6010. boost::shared_ptr<const DataType> arg = params[base++];
  6011. try { GenericConvert( in->Orientation, arg, db ); break; }
  6012. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcVector to be a `IfcDirection`")); }
  6013. } while(0);
  6014. do { // convert the 'Magnitude' argument
  6015. boost::shared_ptr<const DataType> arg = params[base++];
  6016. try { GenericConvert( in->Magnitude, arg, db ); break; }
  6017. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcVector to be a `IfcLengthMeasure`")); }
  6018. } while(0);
  6019. return base;
  6020. }
  6021. // -----------------------------------------------------------------------------------------------------------
  6022. template <> size_t GenericFill<IfcVertex>(const DB& db, const LIST& params, IfcVertex* in)
  6023. {
  6024. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  6025. // this data structure is not used yet, so there is no code generated to fill its members
  6026. return base;
  6027. }
  6028. // -----------------------------------------------------------------------------------------------------------
  6029. template <> size_t GenericFill<IfcVertexLoop>(const DB& db, const LIST& params, IfcVertexLoop* in)
  6030. {
  6031. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  6032. // this data structure is not used yet, so there is no code generated to fill its members
  6033. return base;
  6034. }
  6035. // -----------------------------------------------------------------------------------------------------------
  6036. template <> size_t GenericFill<IfcVertexPoint>(const DB& db, const LIST& params, IfcVertexPoint* in)
  6037. {
  6038. size_t base = GenericFill(db,params,static_cast<IfcVertex*>(in));
  6039. // this data structure is not used yet, so there is no code generated to fill its members
  6040. return base;
  6041. }
  6042. // -----------------------------------------------------------------------------------------------------------
  6043. template <> size_t GenericFill<IfcVibrationIsolator>(const DB& db, const LIST& params, IfcVibrationIsolator* in)
  6044. {
  6045. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  6046. // this data structure is not used yet, so there is no code generated to fill its members
  6047. return base;
  6048. }
  6049. // -----------------------------------------------------------------------------------------------------------
  6050. template <> size_t GenericFill<IfcVibrationIsolatorType>(const DB& db, const LIST& params, IfcVibrationIsolatorType* in)
  6051. {
  6052. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  6053. // this data structure is not used yet, so there is no code generated to fill its members
  6054. return base;
  6055. }
  6056. // -----------------------------------------------------------------------------------------------------------
  6057. template <> size_t GenericFill<IfcVirtualElement>(const DB& db, const LIST& params, IfcVirtualElement* in)
  6058. {
  6059. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  6060. // this data structure is not used yet, so there is no code generated to fill its members
  6061. return base;
  6062. }
  6063. // -----------------------------------------------------------------------------------------------------------
  6064. template <> size_t GenericFill<IfcVoidingFeature>(const DB& db, const LIST& params, IfcVoidingFeature* in)
  6065. {
  6066. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  6067. // this data structure is not used yet, so there is no code generated to fill its members
  6068. return base;
  6069. }
  6070. // -----------------------------------------------------------------------------------------------------------
  6071. template <> size_t GenericFill<IfcWall>(const DB& db, const LIST& params, IfcWall* in)
  6072. {
  6073. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  6074. // this data structure is not used yet, so there is no code generated to fill its members
  6075. return base;
  6076. }
  6077. // -----------------------------------------------------------------------------------------------------------
  6078. template <> size_t GenericFill<IfcWallElementedCase>(const DB& db, const LIST& params, IfcWallElementedCase* in)
  6079. {
  6080. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  6081. // this data structure is not used yet, so there is no code generated to fill its members
  6082. return base;
  6083. }
  6084. // -----------------------------------------------------------------------------------------------------------
  6085. template <> size_t GenericFill<IfcWallStandardCase>(const DB& db, const LIST& params, IfcWallStandardCase* in)
  6086. {
  6087. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  6088. // this data structure is not used yet, so there is no code generated to fill its members
  6089. return base;
  6090. }
  6091. // -----------------------------------------------------------------------------------------------------------
  6092. template <> size_t GenericFill<IfcWallType>(const DB& db, const LIST& params, IfcWallType* in)
  6093. {
  6094. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  6095. // this data structure is not used yet, so there is no code generated to fill its members
  6096. return base;
  6097. }
  6098. // -----------------------------------------------------------------------------------------------------------
  6099. template <> size_t GenericFill<IfcWasteTerminal>(const DB& db, const LIST& params, IfcWasteTerminal* in)
  6100. {
  6101. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  6102. // this data structure is not used yet, so there is no code generated to fill its members
  6103. return base;
  6104. }
  6105. // -----------------------------------------------------------------------------------------------------------
  6106. template <> size_t GenericFill<IfcWasteTerminalType>(const DB& db, const LIST& params, IfcWasteTerminalType* in)
  6107. {
  6108. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  6109. // this data structure is not used yet, so there is no code generated to fill its members
  6110. return base;
  6111. }
  6112. // -----------------------------------------------------------------------------------------------------------
  6113. template <> size_t GenericFill<IfcWindow>(const DB& db, const LIST& params, IfcWindow* in)
  6114. {
  6115. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  6116. // this data structure is not used yet, so there is no code generated to fill its members
  6117. return base;
  6118. }
  6119. // -----------------------------------------------------------------------------------------------------------
  6120. template <> size_t GenericFill<IfcWindowStandardCase>(const DB& db, const LIST& params, IfcWindowStandardCase* in)
  6121. {
  6122. size_t base = GenericFill(db,params,static_cast<IfcWindow*>(in));
  6123. // this data structure is not used yet, so there is no code generated to fill its members
  6124. return base;
  6125. }
  6126. // -----------------------------------------------------------------------------------------------------------
  6127. template <> size_t GenericFill<IfcWindowStyle>(const DB& db, const LIST& params, IfcWindowStyle* in)
  6128. {
  6129. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  6130. // this data structure is not used yet, so there is no code generated to fill its members
  6131. return base;
  6132. }
  6133. // -----------------------------------------------------------------------------------------------------------
  6134. template <> size_t GenericFill<IfcWindowType>(const DB& db, const LIST& params, IfcWindowType* in)
  6135. {
  6136. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  6137. // this data structure is not used yet, so there is no code generated to fill its members
  6138. return base;
  6139. }
  6140. // -----------------------------------------------------------------------------------------------------------
  6141. template <> size_t GenericFill<IfcWorkCalendar>(const DB& db, const LIST& params, IfcWorkCalendar* in)
  6142. {
  6143. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  6144. // this data structure is not used yet, so there is no code generated to fill its members
  6145. return base;
  6146. }
  6147. // -----------------------------------------------------------------------------------------------------------
  6148. template <> size_t GenericFill<IfcWorkControl>(const DB& db, const LIST& params, IfcWorkControl* in)
  6149. {
  6150. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  6151. // this data structure is not used yet, so there is no code generated to fill its members
  6152. return base;
  6153. }
  6154. // -----------------------------------------------------------------------------------------------------------
  6155. template <> size_t GenericFill<IfcWorkPlan>(const DB& db, const LIST& params, IfcWorkPlan* in)
  6156. {
  6157. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  6158. // this data structure is not used yet, so there is no code generated to fill its members
  6159. return base;
  6160. }
  6161. // -----------------------------------------------------------------------------------------------------------
  6162. template <> size_t GenericFill<IfcWorkSchedule>(const DB& db, const LIST& params, IfcWorkSchedule* in)
  6163. {
  6164. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  6165. // this data structure is not used yet, so there is no code generated to fill its members
  6166. return base;
  6167. }
  6168. // -----------------------------------------------------------------------------------------------------------
  6169. template <> size_t GenericFill<IfcZShapeProfileDef>(const DB& db, const LIST& params, IfcZShapeProfileDef* in)
  6170. {
  6171. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  6172. // this data structure is not used yet, so there is no code generated to fill its members
  6173. return base;
  6174. }
  6175. // -----------------------------------------------------------------------------------------------------------
  6176. template <> size_t GenericFill<IfcZone>(const DB& db, const LIST& params, IfcZone* in)
  6177. {
  6178. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  6179. // this data structure is not used yet, so there is no code generated to fill its members
  6180. return base;
  6181. }
  6182. } // ! STEP
  6183. } // ! Assimp
  6184. #endif