IFCReaderGen.cpp 292 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549
  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("ifcsoundpowermeasure",NULL )
  43. , SchemaEntry("ifcdoorstyleoperationenum",NULL )
  44. , SchemaEntry("ifcrotationalfrequencymeasure",NULL )
  45. , SchemaEntry("ifccharacterstyleselect",NULL )
  46. , SchemaEntry("ifcelectrictimecontroltypeenum",NULL )
  47. , SchemaEntry("ifcairterminaltypeenum",NULL )
  48. , SchemaEntry("ifcprojectordertypeenum",NULL )
  49. , SchemaEntry("ifcsequenceenum",NULL )
  50. , SchemaEntry("ifcspecificheatcapacitymeasure",NULL )
  51. , SchemaEntry("ifcheatingvaluemeasure",NULL )
  52. , SchemaEntry("ifcribplatedirectionenum",NULL )
  53. , SchemaEntry("ifcsensortypeenum",NULL )
  54. , SchemaEntry("ifcelectricheatertypeenum",NULL )
  55. , SchemaEntry("ifcobjectiveenum",NULL )
  56. , SchemaEntry("ifctextstyleselect",NULL )
  57. , SchemaEntry("ifccolumntypeenum",NULL )
  58. , SchemaEntry("ifcgasterminaltypeenum",NULL )
  59. , SchemaEntry("ifcmassdensitymeasure",NULL )
  60. , SchemaEntry("ifcsimplevalue",NULL )
  61. , SchemaEntry("ifcelectricconductancemeasure",NULL )
  62. , SchemaEntry("ifcbuildingelementproxytypeenum",NULL )
  63. , SchemaEntry("ifcjunctionboxtypeenum",NULL )
  64. , SchemaEntry("ifcmodulusofelasticitymeasure",NULL )
  65. , SchemaEntry("ifcactionsourcetypeenum",NULL )
  66. , SchemaEntry("ifcsiunitname",NULL )
  67. , SchemaEntry("ifcrotationalmassmeasure",NULL )
  68. , SchemaEntry("ifcmembertypeenum",NULL )
  69. , SchemaEntry("ifctextdecoration",NULL )
  70. , SchemaEntry("ifcpositivelengthmeasure",NULL )
  71. , SchemaEntry("ifcamountofsubstancemeasure",NULL )
  72. , SchemaEntry("ifcdoorstyleconstructionenum",NULL )
  73. , SchemaEntry("ifcangularvelocitymeasure",NULL )
  74. , SchemaEntry("ifcdirectionsenseenum",NULL )
  75. , SchemaEntry("ifcnullstyle",NULL )
  76. , SchemaEntry("ifcmonthinyearnumber",NULL )
  77. , SchemaEntry("ifcrampflighttypeenum",NULL )
  78. , SchemaEntry("ifcwindowstyleoperationenum",NULL )
  79. , SchemaEntry("ifccurvaturemeasure",NULL )
  80. , SchemaEntry("ifcbooleanoperator",NULL )
  81. , SchemaEntry("ifcductfittingtypeenum",NULL )
  82. , SchemaEntry("ifccurrencyenum",NULL )
  83. , SchemaEntry("ifcobjecttypeenum",NULL )
  84. , SchemaEntry("ifcthermalloadtypeenum",NULL )
  85. , SchemaEntry("ifcionconcentrationmeasure",NULL )
  86. , SchemaEntry("ifcobjectreferenceselect",NULL )
  87. , SchemaEntry("ifcclassificationnotationselect",NULL )
  88. , SchemaEntry("ifcbsplinecurveform",NULL )
  89. , SchemaEntry("ifcelementcompositionenum",NULL )
  90. , SchemaEntry("ifcdraughtingcalloutelement",NULL )
  91. , SchemaEntry("ifcfillstyleselect",NULL )
  92. , SchemaEntry("ifcheatfluxdensitymeasure",NULL )
  93. , SchemaEntry("ifcgeometricprojectionenum",NULL )
  94. , SchemaEntry("ifcfontvariant",NULL )
  95. , SchemaEntry("ifcthermalresistancemeasure",NULL )
  96. , SchemaEntry("ifcreflectancemethodenum",NULL )
  97. , SchemaEntry("ifcslabtypeenum",NULL )
  98. , SchemaEntry("ifcpositiveratiomeasure",NULL )
  99. , SchemaEntry("ifcinternalorexternalenum",NULL )
  100. , SchemaEntry("ifcdimensionextentusage",NULL )
  101. , SchemaEntry("ifcpipefittingtypeenum",NULL )
  102. , SchemaEntry("ifcsanitaryterminaltypeenum",NULL )
  103. , SchemaEntry("ifcminuteinhour",NULL )
  104. , SchemaEntry("ifcwalltypeenum",NULL )
  105. , SchemaEntry("ifcmolecularweightmeasure",NULL )
  106. , SchemaEntry("ifcunitaryequipmenttypeenum",NULL )
  107. , SchemaEntry("ifcproceduretypeenum",NULL )
  108. , SchemaEntry("ifcdistributionchamberelementtypeenum",NULL )
  109. , SchemaEntry("ifctextpath",NULL )
  110. , SchemaEntry("ifccostscheduletypeenum",NULL )
  111. , SchemaEntry("ifcshell",NULL )
  112. , SchemaEntry("ifclinearmomentmeasure",NULL )
  113. , SchemaEntry("ifcelectriccurrentmeasure",NULL )
  114. , SchemaEntry("ifcdaylightsavinghour",NULL )
  115. , SchemaEntry("ifcnormalisedratiomeasure",NULL )
  116. , SchemaEntry("ifcfantypeenum",NULL )
  117. , SchemaEntry("ifccontextdependentmeasure",NULL )
  118. , SchemaEntry("ifcaheadorbehind",NULL )
  119. , SchemaEntry("ifcfontstyle",NULL )
  120. , SchemaEntry("ifccooledbeamtypeenum",NULL )
  121. , SchemaEntry("ifcsurfacestyleelementselect",NULL )
  122. , SchemaEntry("ifcyearnumber",NULL )
  123. , SchemaEntry("ifclabel",NULL )
  124. , SchemaEntry("ifctimestamp",NULL )
  125. , SchemaEntry("ifcfiresuppressionterminaltypeenum",NULL )
  126. , SchemaEntry("ifcdocumentconfidentialityenum",NULL )
  127. , SchemaEntry("ifccolourorfactor",NULL )
  128. , SchemaEntry("ifcairterminalboxtypeenum",NULL )
  129. , SchemaEntry("ifcnumericmeasure",NULL )
  130. , SchemaEntry("ifcderivedunitenum",NULL )
  131. , SchemaEntry("ifccurveoredgecurve",NULL )
  132. , SchemaEntry("ifclightemissionsourceenum",NULL )
  133. , SchemaEntry("ifckinematicviscositymeasure",NULL )
  134. , SchemaEntry("ifcboxalignment",NULL )
  135. , SchemaEntry("ifcdocumentselect",NULL )
  136. , SchemaEntry("ifccablecarrierfittingtypeenum",NULL )
  137. , SchemaEntry("ifcpumptypeenum",NULL )
  138. , SchemaEntry("ifchourinday",NULL )
  139. , SchemaEntry("ifcprojectorderrecordtypeenum",NULL )
  140. , SchemaEntry("ifcwindowstyleconstructionenum",NULL )
  141. , SchemaEntry("ifcpresentationstyleselect",NULL )
  142. , SchemaEntry("ifccablesegmenttypeenum",NULL )
  143. , SchemaEntry("ifcwasteterminaltypeenum",NULL )
  144. , SchemaEntry("ifcisothermalmoisturecapacitymeasure",NULL )
  145. , SchemaEntry("ifcidentifier",NULL )
  146. , SchemaEntry("ifcradioactivitymeasure",NULL )
  147. , SchemaEntry("ifcsymbolstyleselect",NULL )
  148. , SchemaEntry("ifcrooftypeenum",NULL )
  149. , SchemaEntry("ifcreal",NULL )
  150. , SchemaEntry("ifcroleenum",NULL )
  151. , SchemaEntry("ifcmeasurevalue",NULL )
  152. , SchemaEntry("ifcpiletypeenum",NULL )
  153. , SchemaEntry("ifcelectriccurrentenum",NULL )
  154. , SchemaEntry("ifctexttransformation",NULL )
  155. , SchemaEntry("ifcfiltertypeenum",NULL )
  156. , SchemaEntry("ifctransformertypeenum",NULL )
  157. , SchemaEntry("ifcsurfaceside",NULL )
  158. , SchemaEntry("ifcthermaltransmittancemeasure",NULL )
  159. , SchemaEntry("ifctubebundletypeenum",NULL )
  160. , SchemaEntry("ifclightfixturetypeenum",NULL )
  161. , SchemaEntry("ifcinductancemeasure",NULL )
  162. , SchemaEntry("ifcglobalorlocalenum",NULL )
  163. , SchemaEntry("ifcoutlettypeenum",NULL )
  164. , SchemaEntry("ifcworkcontroltypeenum",NULL )
  165. , SchemaEntry("ifcwarpingmomentmeasure",NULL )
  166. , SchemaEntry("ifcdynamicviscositymeasure",NULL )
  167. , SchemaEntry("ifcenergysequenceenum",NULL )
  168. , SchemaEntry("ifcfillareastyletileshapeselect",NULL )
  169. , SchemaEntry("ifcpointorvertexpoint",NULL )
  170. , SchemaEntry("ifcvibrationisolatortypeenum",NULL )
  171. , SchemaEntry("ifctanktypeenum",NULL )
  172. , SchemaEntry("ifctimeseriesdatatypeenum",NULL )
  173. , SchemaEntry("ifcsurfacetextureenum",NULL )
  174. , SchemaEntry("ifcaddresstypeenum",NULL )
  175. , SchemaEntry("ifcchillertypeenum",NULL )
  176. , SchemaEntry("ifccomplexnumber",NULL )
  177. , SchemaEntry("ifclightdistributioncurveenum",NULL )
  178. , SchemaEntry("ifcreinforcingbarroleenum",NULL )
  179. , SchemaEntry("ifcresourceconsumptionenum",NULL )
  180. , SchemaEntry("ifccsgselect",NULL )
  181. , SchemaEntry("ifcmodulusoflinearsubgradereactionmeasure",NULL )
  182. , SchemaEntry("ifcevaporatortypeenum",NULL )
  183. , SchemaEntry("ifctimeseriesscheduletypeenum",NULL )
  184. , SchemaEntry("ifcdayinmonthnumber",NULL )
  185. , SchemaEntry("ifcelectricmotortypeenum",NULL )
  186. , SchemaEntry("ifcthermalconductivitymeasure",NULL )
  187. , SchemaEntry("ifcenergymeasure",NULL )
  188. , SchemaEntry("ifcrotationalstiffnessmeasure",NULL )
  189. , SchemaEntry("ifcderivedmeasurevalue",NULL )
  190. , SchemaEntry("ifcdoorpaneloperationenum",NULL )
  191. , SchemaEntry("ifccurvestylefontselect",NULL )
  192. , SchemaEntry("ifcwindowpaneloperationenum",NULL )
  193. , SchemaEntry("ifcdataoriginenum",NULL )
  194. , SchemaEntry("ifcstairtypeenum",NULL )
  195. , SchemaEntry("ifcrailingtypeenum",NULL )
  196. , SchemaEntry("ifcpowermeasure",NULL )
  197. , SchemaEntry("ifcstackterminaltypeenum",NULL )
  198. , SchemaEntry("ifchatchlinedistanceselect",NULL )
  199. , SchemaEntry("ifctrimmingselect",NULL )
  200. , SchemaEntry("ifcthermalexpansioncoefficientmeasure",NULL )
  201. , SchemaEntry("ifclightdistributiondatasourceselect",NULL )
  202. , SchemaEntry("ifctorquemeasure",NULL )
  203. , SchemaEntry("ifcmassperlengthmeasure",NULL )
  204. , SchemaEntry("ifcvalvetypeenum",NULL )
  205. , SchemaEntry("ifcwindowpanelpositionenum",NULL )
  206. , SchemaEntry("ifcsurfaceorfacesurface",NULL )
  207. , SchemaEntry("ifcpropertysourceenum",NULL )
  208. , SchemaEntry("ifccablecarriersegmenttypeenum",NULL )
  209. , SchemaEntry("ifccountmeasure",NULL )
  210. , SchemaEntry("ifcfontweight",NULL )
  211. , SchemaEntry("ifcphysicalorvirtualenum",NULL )
  212. , SchemaEntry("ifcspacetypeenum",NULL )
  213. , SchemaEntry("ifcvolumetricflowratemeasure",NULL )
  214. , SchemaEntry("ifcluminousfluxmeasure",NULL )
  215. , SchemaEntry("ifcevaporativecoolertypeenum",NULL )
  216. , SchemaEntry("ifclayereditem",NULL )
  217. , SchemaEntry("ifcmodulusofsubgradereactionmeasure",NULL )
  218. , SchemaEntry("ifcheatexchangertypeenum",NULL )
  219. , SchemaEntry("ifcprotectivedevicetypeenum",NULL )
  220. , SchemaEntry("ifcdampertypeenum",NULL )
  221. , SchemaEntry("ifccontrollertypeenum",NULL )
  222. , SchemaEntry("ifcmassflowratemeasure",NULL )
  223. , SchemaEntry("ifcassemblyplaceenum",NULL )
  224. , SchemaEntry("ifcareameasure",NULL )
  225. , SchemaEntry("ifcservicelifefactortypeenum",NULL )
  226. , SchemaEntry("ifcvolumemeasure",NULL )
  227. , SchemaEntry("ifcbeamtypeenum",NULL )
  228. , SchemaEntry("ifcstateenum",NULL )
  229. , SchemaEntry("ifcspaceheatertypeenum",NULL )
  230. , SchemaEntry("ifcsectiontypeenum",NULL )
  231. , SchemaEntry("ifcfootingtypeenum",NULL )
  232. , SchemaEntry("ifcmonetarymeasure",NULL )
  233. , SchemaEntry("ifcloadgrouptypeenum",NULL )
  234. , SchemaEntry("ifcelectricgeneratortypeenum",NULL )
  235. , SchemaEntry("ifcflowmetertypeenum",NULL )
  236. , SchemaEntry("ifcmaterialselect",NULL )
  237. , SchemaEntry("ifcanalysismodeltypeenum",NULL )
  238. , SchemaEntry("ifctemperaturegradientmeasure",NULL )
  239. , SchemaEntry("ifcmodulusofrotationalsubgradereactionmeasure",NULL )
  240. , SchemaEntry("ifccolour",NULL )
  241. , SchemaEntry("ifccurtainwalltypeenum",NULL )
  242. , SchemaEntry("ifcmetricvalueselect",NULL )
  243. , SchemaEntry("ifctextalignment",NULL )
  244. , SchemaEntry("ifcdoorpanelpositionenum",NULL )
  245. , SchemaEntry("ifcplatetypeenum",NULL )
  246. , SchemaEntry("ifcsectionalareaintegralmeasure",NULL )
  247. , SchemaEntry("ifcpresentabletext",NULL )
  248. , SchemaEntry("ifcvaporpermeabilitymeasure",NULL )
  249. , SchemaEntry("ifcstructuralsurfacetypeenum",NULL )
  250. , SchemaEntry("ifclinearvelocitymeasure",NULL )
  251. , SchemaEntry("ifcintegercountratemeasure",NULL )
  252. , SchemaEntry("ifcairtoairheatrecoverytypeenum",NULL )
  253. , SchemaEntry("ifcdocumentstatusenum",NULL )
  254. , SchemaEntry("ifclengthmeasure",NULL )
  255. , SchemaEntry("ifcplanarforcemeasure",NULL )
  256. , SchemaEntry("ifcbooleanoperand",NULL )
  257. , SchemaEntry("ifcinteger",NULL )
  258. , SchemaEntry("ifcramptypeenum",NULL )
  259. , SchemaEntry("ifcactorselect",NULL )
  260. , SchemaEntry("ifcelectricchargemeasure",NULL )
  261. , SchemaEntry("ifcgeometricsetselect",NULL )
  262. , SchemaEntry("ifcconnectiontypeenum",NULL )
  263. , SchemaEntry("ifcvalue",NULL )
  264. , SchemaEntry("ifccoolingtowertypeenum",NULL )
  265. , SchemaEntry("ifcplaneanglemeasure",NULL )
  266. , SchemaEntry("ifcswitchingdevicetypeenum",NULL )
  267. , SchemaEntry("ifcflowdirectionenum",NULL )
  268. , SchemaEntry("ifcthermalloadsourceenum",NULL )
  269. , SchemaEntry("ifctextfontselect",NULL )
  270. , SchemaEntry("ifcspecularhighlightselect",NULL )
  271. , SchemaEntry("ifcanalysistheorytypeenum",NULL )
  272. , SchemaEntry("ifctextfontname",NULL )
  273. , SchemaEntry("ifcelectricvoltagemeasure",NULL )
  274. , SchemaEntry("ifctendontypeenum",NULL )
  275. , SchemaEntry("ifcsoundpressuremeasure",NULL )
  276. , SchemaEntry("ifcelectricdistributionpointfunctionenum",NULL )
  277. , SchemaEntry("ifcspecularroughness",NULL )
  278. , SchemaEntry("ifcactiontypeenum",NULL )
  279. , SchemaEntry("ifcreinforcingbarsurfaceenum",NULL )
  280. , SchemaEntry("ifchumidifiertypeenum",NULL )
  281. , SchemaEntry("ifcilluminancemeasure",NULL )
  282. , SchemaEntry("ifclibraryselect",NULL )
  283. , SchemaEntry("ifctext",NULL )
  284. , SchemaEntry("ifclayersetdirectionenum",NULL )
  285. , SchemaEntry("ifcboilertypeenum",NULL )
  286. , SchemaEntry("ifctimemeasure",NULL )
  287. , SchemaEntry("ifcaccelerationmeasure",NULL )
  288. , SchemaEntry("ifcelectricflowstoragedevicetypeenum",NULL )
  289. , SchemaEntry("ifcluminousintensitymeasure",NULL )
  290. , SchemaEntry("ifcdefinedsymbolselect",NULL )
  291. , SchemaEntry("ifcunitenum",NULL )
  292. , SchemaEntry("ifcinventorytypeenum",NULL )
  293. , SchemaEntry("ifcstructuralactivityassignmentselect",NULL )
  294. , SchemaEntry("ifcelementassemblytypeenum",NULL )
  295. , SchemaEntry("ifcservicelifetypeenum",NULL )
  296. , SchemaEntry("ifccoveringtypeenum",NULL )
  297. , SchemaEntry("ifcstairflighttypeenum",NULL )
  298. , SchemaEntry("ifcsiprefix",NULL )
  299. , SchemaEntry("ifcelectriccapacitancemeasure",NULL )
  300. , SchemaEntry("ifcflowinstrumenttypeenum",NULL )
  301. , SchemaEntry("ifcthermodynamictemperaturemeasure",NULL )
  302. , SchemaEntry("ifcgloballyuniqueid",NULL )
  303. , SchemaEntry("ifclamptypeenum",NULL )
  304. , SchemaEntry("ifcmagneticfluxmeasure",NULL )
  305. , SchemaEntry("ifcsolidanglemeasure",NULL )
  306. , SchemaEntry("ifcfrequencymeasure",NULL )
  307. , SchemaEntry("ifctransportelementtypeenum",NULL )
  308. , SchemaEntry("ifcsoundscaleenum",NULL )
  309. , SchemaEntry("ifcphmeasure",NULL )
  310. , SchemaEntry("ifcactuatortypeenum",NULL )
  311. , SchemaEntry("ifcpositiveplaneanglemeasure",NULL )
  312. , SchemaEntry("ifcappliedvalueselect",NULL )
  313. , SchemaEntry("ifcsecondinminute",NULL )
  314. , SchemaEntry("ifcductsegmenttypeenum",NULL )
  315. , SchemaEntry("ifcthermaladmittancemeasure",NULL )
  316. , SchemaEntry("ifcspecularexponent",NULL )
  317. , SchemaEntry("ifcdatetimeselect",NULL )
  318. , SchemaEntry("ifctransitioncode",NULL )
  319. , SchemaEntry("ifcdimensioncount",NULL )
  320. , SchemaEntry("ifclinearstiffnessmeasure",NULL )
  321. , SchemaEntry("ifccompoundplaneanglemeasure",NULL )
  322. , SchemaEntry("ifcelectricappliancetypeenum",NULL )
  323. , SchemaEntry("ifcprofiletypeenum",NULL )
  324. , SchemaEntry("ifccurvefontorscaledcurvefontselect",NULL )
  325. , SchemaEntry("ifcprojectedortruelengthenum",NULL )
  326. , SchemaEntry("ifcabsorbeddosemeasure",NULL )
  327. , SchemaEntry("ifcparametervalue",NULL )
  328. , SchemaEntry("ifcpileconstructionenum",NULL )
  329. , SchemaEntry("ifcmotorconnectiontypeenum",NULL )
  330. , SchemaEntry("ifcoccupanttypeenum",NULL )
  331. , SchemaEntry("ifcunit",NULL )
  332. , SchemaEntry("ifclinearforcemeasure",NULL )
  333. , SchemaEntry("ifccondensertypeenum",NULL )
  334. , SchemaEntry("ifcdescriptivemeasure",NULL )
  335. , SchemaEntry("ifcmomentofinertiameasure",NULL )
  336. , SchemaEntry("ifcdoseequivalentmeasure",NULL )
  337. , SchemaEntry("ifcorientationselect",NULL )
  338. , SchemaEntry("ifclogical",NULL )
  339. , SchemaEntry("ifcsizeselect",NULL )
  340. , SchemaEntry("ifcenvironmentalimpactcategoryenum",NULL )
  341. , SchemaEntry("ifclogicaloperatorenum",NULL )
  342. , SchemaEntry("ifccompressortypeenum",NULL )
  343. , SchemaEntry("ifcbenchmarkenum",NULL )
  344. , SchemaEntry("ifcratiomeasure",NULL )
  345. , SchemaEntry("ifcvectorordirection",NULL )
  346. , SchemaEntry("ifcconstraintenum",NULL )
  347. , SchemaEntry("ifcalarmtypeenum",NULL )
  348. , SchemaEntry("ifcluminousintensitydistributionmeasure",NULL )
  349. , SchemaEntry("ifcarithmeticoperatorenum",NULL )
  350. , SchemaEntry("ifcaxis2placement",NULL )
  351. , SchemaEntry("ifcforcemeasure",NULL )
  352. , SchemaEntry("ifctrimmingpreference",NULL )
  353. , SchemaEntry("ifcelectricresistancemeasure",NULL )
  354. , SchemaEntry("ifcwarpingconstantmeasure",NULL )
  355. , SchemaEntry("ifcpipesegmenttypeenum",NULL )
  356. , SchemaEntry("ifcconditioncriterionselect",NULL )
  357. , SchemaEntry("ifcshearmodulusmeasure",NULL )
  358. , SchemaEntry("ifcpressuremeasure",NULL )
  359. , SchemaEntry("ifcductsilencertypeenum",NULL )
  360. , SchemaEntry("ifcboolean",NULL )
  361. , SchemaEntry("ifcsectionmodulusmeasure",NULL )
  362. , SchemaEntry("ifcchangeactionenum",NULL )
  363. , SchemaEntry("ifccoiltypeenum",NULL )
  364. , SchemaEntry("ifcmassmeasure",NULL )
  365. , SchemaEntry("ifcstructuralcurvetypeenum",NULL )
  366. , SchemaEntry("ifcpermeablecoveringoperationenum",NULL )
  367. , SchemaEntry("ifcmagneticfluxdensitymeasure",NULL )
  368. , SchemaEntry("ifcmoisturediffusivitymeasure",NULL )
  369. , SchemaEntry("ifcroot",&STEP::ObjectHelper<IfcRoot,4>::Construct )
  370. , SchemaEntry("ifcobjectdefinition",&STEP::ObjectHelper<IfcObjectDefinition,0>::Construct )
  371. , SchemaEntry("ifctypeobject",&STEP::ObjectHelper<IfcTypeObject,2>::Construct )
  372. , SchemaEntry("ifctypeproduct",&STEP::ObjectHelper<IfcTypeProduct,2>::Construct )
  373. , SchemaEntry("ifcelementtype",&STEP::ObjectHelper<IfcElementType,1>::Construct )
  374. , SchemaEntry("ifcfurnishingelementtype",&STEP::ObjectHelper<IfcFurnishingElementType,0>::Construct )
  375. , SchemaEntry("ifcfurnituretype",&STEP::ObjectHelper<IfcFurnitureType,1>::Construct )
  376. , SchemaEntry("ifcobject",&STEP::ObjectHelper<IfcObject,1>::Construct )
  377. , SchemaEntry("ifcproduct",&STEP::ObjectHelper<IfcProduct,2>::Construct )
  378. , SchemaEntry("ifcgrid",&STEP::ObjectHelper<IfcGrid,3>::Construct )
  379. , SchemaEntry("ifcrepresentationitem",&STEP::ObjectHelper<IfcRepresentationItem,0>::Construct )
  380. , SchemaEntry("ifcgeometricrepresentationitem",&STEP::ObjectHelper<IfcGeometricRepresentationItem,0>::Construct )
  381. , SchemaEntry("ifconedirectionrepeatfactor",&STEP::ObjectHelper<IfcOneDirectionRepeatFactor,1>::Construct )
  382. , SchemaEntry("ifctwodirectionrepeatfactor",&STEP::ObjectHelper<IfcTwoDirectionRepeatFactor,1>::Construct )
  383. , SchemaEntry("ifcelement",&STEP::ObjectHelper<IfcElement,1>::Construct )
  384. , SchemaEntry("ifcelementcomponent",&STEP::ObjectHelper<IfcElementComponent,0>::Construct )
  385. , SchemaEntry("ifclocaltime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  386. , SchemaEntry("ifcspatialstructureelementtype",&STEP::ObjectHelper<IfcSpatialStructureElementType,0>::Construct )
  387. , SchemaEntry("ifccontrol",&STEP::ObjectHelper<IfcControl,0>::Construct )
  388. , SchemaEntry("ifcactionrequest",&STEP::ObjectHelper<IfcActionRequest,1>::Construct )
  389. , SchemaEntry("ifctexturevertex",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  390. , SchemaEntry("ifcpropertydefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  391. , SchemaEntry("ifcpropertysetdefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  392. , SchemaEntry("ifcfluidflowproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  393. , SchemaEntry("ifcdocumentinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  394. , SchemaEntry("ifccalendardate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  395. , SchemaEntry("ifcdistributionelementtype",&STEP::ObjectHelper<IfcDistributionElementType,0>::Construct )
  396. , SchemaEntry("ifcdistributionflowelementtype",&STEP::ObjectHelper<IfcDistributionFlowElementType,0>::Construct )
  397. , SchemaEntry("ifcenergyconversiondevicetype",&STEP::ObjectHelper<IfcEnergyConversionDeviceType,0>::Construct )
  398. , SchemaEntry("ifccooledbeamtype",&STEP::ObjectHelper<IfcCooledBeamType,1>::Construct )
  399. , SchemaEntry("ifccsgprimitive3d",&STEP::ObjectHelper<IfcCsgPrimitive3D,1>::Construct )
  400. , SchemaEntry("ifcrectangularpyramid",&STEP::ObjectHelper<IfcRectangularPyramid,3>::Construct )
  401. , SchemaEntry("ifcstructuralload",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  402. , SchemaEntry("ifcstructuralloadstatic",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  403. , SchemaEntry("ifcstructuralloadlinearforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  404. , SchemaEntry("ifcsurface",&STEP::ObjectHelper<IfcSurface,0>::Construct )
  405. , SchemaEntry("ifcboundedsurface",&STEP::ObjectHelper<IfcBoundedSurface,0>::Construct )
  406. , SchemaEntry("ifcrectangulartrimmedsurface",&STEP::ObjectHelper<IfcRectangularTrimmedSurface,7>::Construct )
  407. , SchemaEntry("ifcphysicalquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  408. , SchemaEntry("ifcphysicalsimplequantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  409. , SchemaEntry("ifcquantityvolume",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  410. , SchemaEntry("ifcquantityarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  411. , SchemaEntry("ifcgroup",&STEP::ObjectHelper<IfcGroup,0>::Construct )
  412. , SchemaEntry("ifcrelationship",&STEP::ObjectHelper<IfcRelationship,0>::Construct )
  413. , SchemaEntry("ifcrelassigns",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  414. , SchemaEntry("ifcrelassignstoactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  415. , SchemaEntry("ifchalfspacesolid",&STEP::ObjectHelper<IfcHalfSpaceSolid,2>::Construct )
  416. , SchemaEntry("ifcpolygonalboundedhalfspace",&STEP::ObjectHelper<IfcPolygonalBoundedHalfSpace,2>::Construct )
  417. , SchemaEntry("ifcenergyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  418. , SchemaEntry("ifcairtoairheatrecoverytype",&STEP::ObjectHelper<IfcAirToAirHeatRecoveryType,1>::Construct )
  419. , SchemaEntry("ifcflowfittingtype",&STEP::ObjectHelper<IfcFlowFittingType,0>::Construct )
  420. , SchemaEntry("ifcpipefittingtype",&STEP::ObjectHelper<IfcPipeFittingType,1>::Construct )
  421. , SchemaEntry("ifcrepresentation",&STEP::ObjectHelper<IfcRepresentation,4>::Construct )
  422. , SchemaEntry("ifcstylemodel",&STEP::ObjectHelper<IfcStyleModel,0>::Construct )
  423. , SchemaEntry("ifcstyledrepresentation",&STEP::ObjectHelper<IfcStyledRepresentation,0>::Construct )
  424. , SchemaEntry("ifcrelassignstocontrol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  425. , SchemaEntry("ifcrelassignstoprojectorder",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  426. , SchemaEntry("ifcdimensionalexponents",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  427. , SchemaEntry("ifcbooleanresult",&STEP::ObjectHelper<IfcBooleanResult,3>::Construct )
  428. , SchemaEntry("ifcsoundproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  429. , SchemaEntry("ifcfeatureelement",&STEP::ObjectHelper<IfcFeatureElement,0>::Construct )
  430. , SchemaEntry("ifcfeatureelementsubtraction",&STEP::ObjectHelper<IfcFeatureElementSubtraction,0>::Construct )
  431. , SchemaEntry("ifcopeningelement",&STEP::ObjectHelper<IfcOpeningElement,0>::Construct )
  432. , SchemaEntry("ifcconditioncriterion",&STEP::ObjectHelper<IfcConditionCriterion,2>::Construct )
  433. , SchemaEntry("ifcflowterminaltype",&STEP::ObjectHelper<IfcFlowTerminalType,0>::Construct )
  434. , SchemaEntry("ifcflowcontrollertype",&STEP::ObjectHelper<IfcFlowControllerType,0>::Construct )
  435. , SchemaEntry("ifcswitchingdevicetype",&STEP::ObjectHelper<IfcSwitchingDeviceType,1>::Construct )
  436. , SchemaEntry("ifcsystem",&STEP::ObjectHelper<IfcSystem,0>::Construct )
  437. , SchemaEntry("ifcelectricalcircuit",&STEP::ObjectHelper<IfcElectricalCircuit,0>::Construct )
  438. , SchemaEntry("ifcactorrole",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  439. , SchemaEntry("ifcdateandtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  440. , SchemaEntry("ifcdraughtingcalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  441. , SchemaEntry("ifcdimensioncalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  442. , SchemaEntry("ifcderivedunitelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  443. , SchemaEntry("ifcexternalreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  444. , SchemaEntry("ifcclassificationreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  445. , SchemaEntry("ifcunitaryequipmenttype",&STEP::ObjectHelper<IfcUnitaryEquipmentType,1>::Construct )
  446. , SchemaEntry("ifcproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  447. , SchemaEntry("ifcport",&STEP::ObjectHelper<IfcPort,0>::Construct )
  448. , SchemaEntry("ifcaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  449. , SchemaEntry("ifcplacement",&STEP::ObjectHelper<IfcPlacement,1>::Construct )
  450. , SchemaEntry("ifcpredefineditem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  451. , SchemaEntry("ifcpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  452. , SchemaEntry("ifcdraughtingpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  453. , SchemaEntry("ifcprofiledef",&STEP::ObjectHelper<IfcProfileDef,2>::Construct )
  454. , SchemaEntry("ifcarbitraryclosedprofiledef",&STEP::ObjectHelper<IfcArbitraryClosedProfileDef,1>::Construct )
  455. , SchemaEntry("ifccurve",&STEP::ObjectHelper<IfcCurve,0>::Construct )
  456. , SchemaEntry("ifcconic",&STEP::ObjectHelper<IfcConic,1>::Construct )
  457. , SchemaEntry("ifccircle",&STEP::ObjectHelper<IfcCircle,1>::Construct )
  458. , SchemaEntry("ifcappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  459. , SchemaEntry("ifcenvironmentalimpactvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  460. , SchemaEntry("ifcsimpleproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  461. , SchemaEntry("ifcpropertysinglevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  462. , SchemaEntry("ifcelementarysurface",&STEP::ObjectHelper<IfcElementarySurface,1>::Construct )
  463. , SchemaEntry("ifcplane",&STEP::ObjectHelper<IfcPlane,0>::Construct )
  464. , SchemaEntry("ifcpropertyboundedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  465. , SchemaEntry("ifccostschedule",&STEP::ObjectHelper<IfcCostSchedule,8>::Construct )
  466. , SchemaEntry("ifcmonetaryunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  467. , SchemaEntry("ifcconnectiongeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  468. , SchemaEntry("ifcconnectioncurvegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  469. , SchemaEntry("ifcrightcircularcone",&STEP::ObjectHelper<IfcRightCircularCone,2>::Construct )
  470. , SchemaEntry("ifcelementassembly",&STEP::ObjectHelper<IfcElementAssembly,2>::Construct )
  471. , SchemaEntry("ifcbuildingelement",&STEP::ObjectHelper<IfcBuildingElement,0>::Construct )
  472. , SchemaEntry("ifcmember",&STEP::ObjectHelper<IfcMember,0>::Construct )
  473. , SchemaEntry("ifcpropertydependencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  474. , SchemaEntry("ifcbuildingelementproxy",&STEP::ObjectHelper<IfcBuildingElementProxy,1>::Construct )
  475. , SchemaEntry("ifcstructuralactivity",&STEP::ObjectHelper<IfcStructuralActivity,2>::Construct )
  476. , SchemaEntry("ifcstructuralaction",&STEP::ObjectHelper<IfcStructuralAction,2>::Construct )
  477. , SchemaEntry("ifcstructuralplanaraction",&STEP::ObjectHelper<IfcStructuralPlanarAction,1>::Construct )
  478. , SchemaEntry("ifctopologicalrepresentationitem",&STEP::ObjectHelper<IfcTopologicalRepresentationItem,0>::Construct )
  479. , SchemaEntry("ifcconnectedfaceset",&STEP::ObjectHelper<IfcConnectedFaceSet,1>::Construct )
  480. , SchemaEntry("ifcsweptsurface",&STEP::ObjectHelper<IfcSweptSurface,2>::Construct )
  481. , SchemaEntry("ifcsurfaceoflinearextrusion",&STEP::ObjectHelper<IfcSurfaceOfLinearExtrusion,2>::Construct )
  482. , SchemaEntry("ifcarbitraryprofiledefwithvoids",&STEP::ObjectHelper<IfcArbitraryProfileDefWithVoids,1>::Construct )
  483. , SchemaEntry("ifcprocess",&STEP::ObjectHelper<IfcProcess,0>::Construct )
  484. , SchemaEntry("ifcprocedure",&STEP::ObjectHelper<IfcProcedure,3>::Construct )
  485. , SchemaEntry("ifccurvestylefontpattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  486. , SchemaEntry("ifcvector",&STEP::ObjectHelper<IfcVector,2>::Construct )
  487. , SchemaEntry("ifcfacebound",&STEP::ObjectHelper<IfcFaceBound,2>::Construct )
  488. , SchemaEntry("ifcfaceouterbound",&STEP::ObjectHelper<IfcFaceOuterBound,0>::Construct )
  489. , SchemaEntry("ifcfeatureelementaddition",&STEP::ObjectHelper<IfcFeatureElementAddition,0>::Construct )
  490. , SchemaEntry("ifcnamedunit",&STEP::ObjectHelper<IfcNamedUnit,2>::Construct )
  491. , SchemaEntry("ifcconversionbasedunit",&STEP::ObjectHelper<IfcConversionBasedUnit,2>::Construct )
  492. , SchemaEntry("ifcstructuralloadsingleforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  493. , SchemaEntry("ifcheatexchangertype",&STEP::ObjectHelper<IfcHeatExchangerType,1>::Construct )
  494. , SchemaEntry("ifcpresentationstyleassignment",&STEP::ObjectHelper<IfcPresentationStyleAssignment,1>::Construct )
  495. , SchemaEntry("ifcflowtreatmentdevicetype",&STEP::ObjectHelper<IfcFlowTreatmentDeviceType,0>::Construct )
  496. , SchemaEntry("ifcfiltertype",&STEP::ObjectHelper<IfcFilterType,1>::Construct )
  497. , SchemaEntry("ifcresource",&STEP::ObjectHelper<IfcResource,0>::Construct )
  498. , SchemaEntry("ifcevaporativecoolertype",&STEP::ObjectHelper<IfcEvaporativeCoolerType,1>::Construct )
  499. , SchemaEntry("ifctexturecoordinate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  500. , SchemaEntry("ifctexturecoordinategenerator",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  501. , SchemaEntry("ifcoffsetcurve2d",&STEP::ObjectHelper<IfcOffsetCurve2D,3>::Construct )
  502. , SchemaEntry("ifcedge",&STEP::ObjectHelper<IfcEdge,2>::Construct )
  503. , SchemaEntry("ifcsubedge",&STEP::ObjectHelper<IfcSubedge,1>::Construct )
  504. , SchemaEntry("ifcproxy",&STEP::ObjectHelper<IfcProxy,2>::Construct )
  505. , SchemaEntry("ifcline",&STEP::ObjectHelper<IfcLine,2>::Construct )
  506. , SchemaEntry("ifccolumn",&STEP::ObjectHelper<IfcColumn,0>::Construct )
  507. , SchemaEntry("ifcclassificationnotationfacet",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  508. , SchemaEntry("ifcobjectplacement",&STEP::ObjectHelper<IfcObjectPlacement,0>::Construct )
  509. , SchemaEntry("ifcgridplacement",&STEP::ObjectHelper<IfcGridPlacement,2>::Construct )
  510. , SchemaEntry("ifcdistributioncontrolelementtype",&STEP::ObjectHelper<IfcDistributionControlElementType,0>::Construct )
  511. , SchemaEntry("ifcstructuralloadsingleforcewarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  512. , SchemaEntry("ifcexternallydefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  513. , SchemaEntry("ifcrelconnects",&STEP::ObjectHelper<IfcRelConnects,0>::Construct )
  514. , SchemaEntry("ifcrelconnectselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  515. , SchemaEntry("ifcrelconnectswithrealizingelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  516. , SchemaEntry("ifcconstraintclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  517. , SchemaEntry("ifcannotation",&STEP::ObjectHelper<IfcAnnotation,0>::Construct )
  518. , SchemaEntry("ifcplate",&STEP::ObjectHelper<IfcPlate,0>::Construct )
  519. , SchemaEntry("ifcsolidmodel",&STEP::ObjectHelper<IfcSolidModel,0>::Construct )
  520. , SchemaEntry("ifcmanifoldsolidbrep",&STEP::ObjectHelper<IfcManifoldSolidBrep,1>::Construct )
  521. , SchemaEntry("ifcpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  522. , SchemaEntry("ifcboundarycondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  523. , SchemaEntry("ifcboundaryfacecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  524. , SchemaEntry("ifcflowstoragedevicetype",&STEP::ObjectHelper<IfcFlowStorageDeviceType,0>::Construct )
  525. , SchemaEntry("ifcstructuralitem",&STEP::ObjectHelper<IfcStructuralItem,0>::Construct )
  526. , SchemaEntry("ifcstructuralmember",&STEP::ObjectHelper<IfcStructuralMember,0>::Construct )
  527. , SchemaEntry("ifcstructuralcurvemember",&STEP::ObjectHelper<IfcStructuralCurveMember,1>::Construct )
  528. , SchemaEntry("ifcstructuralconnection",&STEP::ObjectHelper<IfcStructuralConnection,1>::Construct )
  529. , SchemaEntry("ifcstructuralsurfaceconnection",&STEP::ObjectHelper<IfcStructuralSurfaceConnection,0>::Construct )
  530. , SchemaEntry("ifccoiltype",&STEP::ObjectHelper<IfcCoilType,1>::Construct )
  531. , SchemaEntry("ifcductfittingtype",&STEP::ObjectHelper<IfcDuctFittingType,1>::Construct )
  532. , SchemaEntry("ifcstyleditem",&STEP::ObjectHelper<IfcStyledItem,3>::Construct )
  533. , SchemaEntry("ifcannotationoccurrence",&STEP::ObjectHelper<IfcAnnotationOccurrence,0>::Construct )
  534. , SchemaEntry("ifcannotationcurveoccurrence",&STEP::ObjectHelper<IfcAnnotationCurveOccurrence,0>::Construct )
  535. , SchemaEntry("ifcdimensioncurve",&STEP::ObjectHelper<IfcDimensionCurve,0>::Construct )
  536. , SchemaEntry("ifcboundedcurve",&STEP::ObjectHelper<IfcBoundedCurve,0>::Construct )
  537. , SchemaEntry("ifcaxis1placement",&STEP::ObjectHelper<IfcAxis1Placement,1>::Construct )
  538. , SchemaEntry("ifclightintensitydistribution",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  539. , SchemaEntry("ifcpredefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  540. , SchemaEntry("ifcstructuralpointaction",&STEP::ObjectHelper<IfcStructuralPointAction,0>::Construct )
  541. , SchemaEntry("ifcspatialstructureelement",&STEP::ObjectHelper<IfcSpatialStructureElement,2>::Construct )
  542. , SchemaEntry("ifcspace",&STEP::ObjectHelper<IfcSpace,2>::Construct )
  543. , SchemaEntry("ifccontextdependentunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  544. , SchemaEntry("ifcvirtualgridintersection",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  545. , SchemaEntry("ifcrelassociates",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  546. , SchemaEntry("ifcrelassociatesclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  547. , SchemaEntry("ifccoolingtowertype",&STEP::ObjectHelper<IfcCoolingTowerType,1>::Construct )
  548. , SchemaEntry("ifcmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  549. , SchemaEntry("ifcgeneralmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  550. , SchemaEntry("ifcfacetedbrepwithvoids",&STEP::ObjectHelper<IfcFacetedBrepWithVoids,1>::Construct )
  551. , SchemaEntry("ifcprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  552. , SchemaEntry("ifcgeneralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  553. , SchemaEntry("ifcstructuralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  554. , SchemaEntry("ifcvalvetype",&STEP::ObjectHelper<IfcValveType,1>::Construct )
  555. , SchemaEntry("ifcsystemfurnitureelementtype",&STEP::ObjectHelper<IfcSystemFurnitureElementType,0>::Construct )
  556. , SchemaEntry("ifcdiscreteaccessory",&STEP::ObjectHelper<IfcDiscreteAccessory,0>::Construct )
  557. , SchemaEntry("ifcperson",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  558. , SchemaEntry("ifcbuildingelementtype",&STEP::ObjectHelper<IfcBuildingElementType,0>::Construct )
  559. , SchemaEntry("ifcrailingtype",&STEP::ObjectHelper<IfcRailingType,1>::Construct )
  560. , SchemaEntry("ifcgasterminaltype",&STEP::ObjectHelper<IfcGasTerminalType,1>::Construct )
  561. , SchemaEntry("ifctimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  562. , SchemaEntry("ifcirregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  563. , SchemaEntry("ifcspaceprogram",&STEP::ObjectHelper<IfcSpaceProgram,5>::Construct )
  564. , SchemaEntry("ifccovering",&STEP::ObjectHelper<IfcCovering,1>::Construct )
  565. , SchemaEntry("ifcshapeaspect",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  566. , SchemaEntry("ifcpresentationstyle",&STEP::ObjectHelper<IfcPresentationStyle,1>::Construct )
  567. , SchemaEntry("ifcclassificationitemrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  568. , SchemaEntry("ifcelectricheatertype",&STEP::ObjectHelper<IfcElectricHeaterType,1>::Construct )
  569. , SchemaEntry("ifcbuildingstorey",&STEP::ObjectHelper<IfcBuildingStorey,1>::Construct )
  570. , SchemaEntry("ifcvertex",&STEP::ObjectHelper<IfcVertex,0>::Construct )
  571. , SchemaEntry("ifcvertexpoint",&STEP::ObjectHelper<IfcVertexPoint,1>::Construct )
  572. , SchemaEntry("ifcflowinstrumenttype",&STEP::ObjectHelper<IfcFlowInstrumentType,1>::Construct )
  573. , SchemaEntry("ifcparameterizedprofiledef",&STEP::ObjectHelper<IfcParameterizedProfileDef,1>::Construct )
  574. , SchemaEntry("ifcushapeprofiledef",&STEP::ObjectHelper<IfcUShapeProfileDef,8>::Construct )
  575. , SchemaEntry("ifcramp",&STEP::ObjectHelper<IfcRamp,1>::Construct )
  576. , SchemaEntry("ifcfillareastyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  577. , SchemaEntry("ifccompositecurve",&STEP::ObjectHelper<IfcCompositeCurve,2>::Construct )
  578. , SchemaEntry("ifcrelservicesbuildings",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  579. , SchemaEntry("ifcstructuralcurvemembervarying",&STEP::ObjectHelper<IfcStructuralCurveMemberVarying,0>::Construct )
  580. , SchemaEntry("ifcrelreferencedinspatialstructure",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  581. , SchemaEntry("ifcrampflighttype",&STEP::ObjectHelper<IfcRampFlightType,1>::Construct )
  582. , SchemaEntry("ifcdraughtingcallout",&STEP::ObjectHelper<IfcDraughtingCallout,1>::Construct )
  583. , SchemaEntry("ifcdimensioncurvedirectedcallout",&STEP::ObjectHelper<IfcDimensionCurveDirectedCallout,0>::Construct )
  584. , SchemaEntry("ifcradiusdimension",&STEP::ObjectHelper<IfcRadiusDimension,0>::Construct )
  585. , SchemaEntry("ifcedgefeature",&STEP::ObjectHelper<IfcEdgeFeature,1>::Construct )
  586. , SchemaEntry("ifcsweptareasolid",&STEP::ObjectHelper<IfcSweptAreaSolid,2>::Construct )
  587. , SchemaEntry("ifcextrudedareasolid",&STEP::ObjectHelper<IfcExtrudedAreaSolid,2>::Construct )
  588. , SchemaEntry("ifcquantitycount",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  589. , SchemaEntry("ifcannotationtextoccurrence",&STEP::ObjectHelper<IfcAnnotationTextOccurrence,0>::Construct )
  590. , SchemaEntry("ifcreferencesvaluedocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  591. , SchemaEntry("ifcstair",&STEP::ObjectHelper<IfcStair,1>::Construct )
  592. , SchemaEntry("ifcsymbolstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  593. , SchemaEntry("ifcfillareastyletilesymbolwithstyle",&STEP::ObjectHelper<IfcFillAreaStyleTileSymbolWithStyle,1>::Construct )
  594. , SchemaEntry("ifcannotationsymboloccurrence",&STEP::ObjectHelper<IfcAnnotationSymbolOccurrence,0>::Construct )
  595. , SchemaEntry("ifcterminatorsymbol",&STEP::ObjectHelper<IfcTerminatorSymbol,1>::Construct )
  596. , SchemaEntry("ifcdimensioncurveterminator",&STEP::ObjectHelper<IfcDimensionCurveTerminator,1>::Construct )
  597. , SchemaEntry("ifcrectangleprofiledef",&STEP::ObjectHelper<IfcRectangleProfileDef,2>::Construct )
  598. , SchemaEntry("ifcrectanglehollowprofiledef",&STEP::ObjectHelper<IfcRectangleHollowProfileDef,3>::Construct )
  599. , SchemaEntry("ifcrelassociateslibrary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  600. , SchemaEntry("ifclocalplacement",&STEP::ObjectHelper<IfcLocalPlacement,2>::Construct )
  601. , SchemaEntry("ifcopticalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  602. , SchemaEntry("ifcservicelifefactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  603. , SchemaEntry("ifcrelassignstasks",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  604. , SchemaEntry("ifctask",&STEP::ObjectHelper<IfcTask,5>::Construct )
  605. , SchemaEntry("ifcannotationfillareaoccurrence",&STEP::ObjectHelper<IfcAnnotationFillAreaOccurrence,2>::Construct )
  606. , SchemaEntry("ifcface",&STEP::ObjectHelper<IfcFace,1>::Construct )
  607. , SchemaEntry("ifcflowsegmenttype",&STEP::ObjectHelper<IfcFlowSegmentType,0>::Construct )
  608. , SchemaEntry("ifcductsegmenttype",&STEP::ObjectHelper<IfcDuctSegmentType,1>::Construct )
  609. , SchemaEntry("ifcpropertyenumeration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  610. , SchemaEntry("ifcconstructionresource",&STEP::ObjectHelper<IfcConstructionResource,4>::Construct )
  611. , SchemaEntry("ifcconstructionequipmentresource",&STEP::ObjectHelper<IfcConstructionEquipmentResource,0>::Construct )
  612. , SchemaEntry("ifcsanitaryterminaltype",&STEP::ObjectHelper<IfcSanitaryTerminalType,1>::Construct )
  613. , SchemaEntry("ifcpredefineddimensionsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  614. , SchemaEntry("ifcorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  615. , SchemaEntry("ifccircleprofiledef",&STEP::ObjectHelper<IfcCircleProfileDef,1>::Construct )
  616. , SchemaEntry("ifcstructuralreaction",&STEP::ObjectHelper<IfcStructuralReaction,0>::Construct )
  617. , SchemaEntry("ifcstructuralpointreaction",&STEP::ObjectHelper<IfcStructuralPointReaction,0>::Construct )
  618. , SchemaEntry("ifcrailing",&STEP::ObjectHelper<IfcRailing,1>::Construct )
  619. , SchemaEntry("ifctextliteral",&STEP::ObjectHelper<IfcTextLiteral,3>::Construct )
  620. , SchemaEntry("ifccartesiantransformationoperator",&STEP::ObjectHelper<IfcCartesianTransformationOperator,4>::Construct )
  621. , SchemaEntry("ifccostvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  622. , SchemaEntry("ifctextstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  623. , SchemaEntry("ifclineardimension",&STEP::ObjectHelper<IfcLinearDimension,0>::Construct )
  624. , SchemaEntry("ifcdampertype",&STEP::ObjectHelper<IfcDamperType,1>::Construct )
  625. , SchemaEntry("ifcsiunit",&STEP::ObjectHelper<IfcSIUnit,2>::Construct )
  626. , SchemaEntry("ifcsurfacestylelighting",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  627. , SchemaEntry("ifcmeasurewithunit",&STEP::ObjectHelper<IfcMeasureWithUnit,2>::Construct )
  628. , SchemaEntry("ifcmateriallayerset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  629. , SchemaEntry("ifcdistributionelement",&STEP::ObjectHelper<IfcDistributionElement,0>::Construct )
  630. , SchemaEntry("ifcdistributioncontrolelement",&STEP::ObjectHelper<IfcDistributionControlElement,1>::Construct )
  631. , SchemaEntry("ifctransformertype",&STEP::ObjectHelper<IfcTransformerType,1>::Construct )
  632. , SchemaEntry("ifclaborresource",&STEP::ObjectHelper<IfcLaborResource,1>::Construct )
  633. , SchemaEntry("ifcderivedprofiledef",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  634. , SchemaEntry("ifcrelconnectsstructuralmember",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  635. , SchemaEntry("ifcrelconnectswitheccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  636. , SchemaEntry("ifcfurniturestandard",&STEP::ObjectHelper<IfcFurnitureStandard,0>::Construct )
  637. , SchemaEntry("ifcstairflighttype",&STEP::ObjectHelper<IfcStairFlightType,1>::Construct )
  638. , SchemaEntry("ifcworkcontrol",&STEP::ObjectHelper<IfcWorkControl,10>::Construct )
  639. , SchemaEntry("ifcworkplan",&STEP::ObjectHelper<IfcWorkPlan,0>::Construct )
  640. , SchemaEntry("ifcreldefines",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  641. , SchemaEntry("ifcreldefinesbyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  642. , SchemaEntry("ifccondition",&STEP::ObjectHelper<IfcCondition,0>::Construct )
  643. , SchemaEntry("ifcgridaxis",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  644. , SchemaEntry("ifcrelvoidselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  645. , SchemaEntry("ifcwindow",&STEP::ObjectHelper<IfcWindow,2>::Construct )
  646. , SchemaEntry("ifcrelflowcontrolelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  647. , SchemaEntry("ifcrelconnectsporttoelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  648. , SchemaEntry("ifcprotectivedevicetype",&STEP::ObjectHelper<IfcProtectiveDeviceType,1>::Construct )
  649. , SchemaEntry("ifcjunctionboxtype",&STEP::ObjectHelper<IfcJunctionBoxType,1>::Construct )
  650. , SchemaEntry("ifcstructuralanalysismodel",&STEP::ObjectHelper<IfcStructuralAnalysisModel,4>::Construct )
  651. , SchemaEntry("ifcaxis2placement2d",&STEP::ObjectHelper<IfcAxis2Placement2D,1>::Construct )
  652. , SchemaEntry("ifcspacetype",&STEP::ObjectHelper<IfcSpaceType,1>::Construct )
  653. , SchemaEntry("ifcellipseprofiledef",&STEP::ObjectHelper<IfcEllipseProfileDef,2>::Construct )
  654. , SchemaEntry("ifcdistributionflowelement",&STEP::ObjectHelper<IfcDistributionFlowElement,0>::Construct )
  655. , SchemaEntry("ifcflowmovingdevice",&STEP::ObjectHelper<IfcFlowMovingDevice,0>::Construct )
  656. , SchemaEntry("ifcsurfacestylewithtextures",&STEP::ObjectHelper<IfcSurfaceStyleWithTextures,1>::Construct )
  657. , SchemaEntry("ifcgeometricset",&STEP::ObjectHelper<IfcGeometricSet,1>::Construct )
  658. , SchemaEntry("ifcmechanicalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  659. , SchemaEntry("ifcmechanicalconcretematerialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  660. , SchemaEntry("ifcribplateprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  661. , SchemaEntry("ifcdocumentinformationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  662. , SchemaEntry("ifcprojectorder",&STEP::ObjectHelper<IfcProjectOrder,3>::Construct )
  663. , SchemaEntry("ifcbsplinecurve",&STEP::ObjectHelper<IfcBSplineCurve,5>::Construct )
  664. , SchemaEntry("ifcbeziercurve",&STEP::ObjectHelper<IfcBezierCurve,0>::Construct )
  665. , SchemaEntry("ifcstructuralpointconnection",&STEP::ObjectHelper<IfcStructuralPointConnection,0>::Construct )
  666. , SchemaEntry("ifcflowcontroller",&STEP::ObjectHelper<IfcFlowController,0>::Construct )
  667. , SchemaEntry("ifcelectricdistributionpoint",&STEP::ObjectHelper<IfcElectricDistributionPoint,2>::Construct )
  668. , SchemaEntry("ifcsite",&STEP::ObjectHelper<IfcSite,5>::Construct )
  669. , SchemaEntry("ifcoffsetcurve3d",&STEP::ObjectHelper<IfcOffsetCurve3D,4>::Construct )
  670. , SchemaEntry("ifcpropertyset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  671. , SchemaEntry("ifcconnectionsurfacegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  672. , SchemaEntry("ifcvirtualelement",&STEP::ObjectHelper<IfcVirtualElement,0>::Construct )
  673. , SchemaEntry("ifcconstructionproductresource",&STEP::ObjectHelper<IfcConstructionProductResource,0>::Construct )
  674. , SchemaEntry("ifcwaterproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  675. , SchemaEntry("ifcsurfacecurvesweptareasolid",&STEP::ObjectHelper<IfcSurfaceCurveSweptAreaSolid,4>::Construct )
  676. , SchemaEntry("ifcpermeablecoveringproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  677. , SchemaEntry("ifccartesiantransformationoperator3d",&STEP::ObjectHelper<IfcCartesianTransformationOperator3D,1>::Construct )
  678. , SchemaEntry("ifccartesiantransformationoperator3dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator3DnonUniform,2>::Construct )
  679. , SchemaEntry("ifccrewresource",&STEP::ObjectHelper<IfcCrewResource,0>::Construct )
  680. , SchemaEntry("ifcstructuralsurfacemember",&STEP::ObjectHelper<IfcStructuralSurfaceMember,2>::Construct )
  681. , SchemaEntry("ifc2dcompositecurve",&STEP::ObjectHelper<Ifc2DCompositeCurve,0>::Construct )
  682. , SchemaEntry("ifcrepresentationcontext",&STEP::ObjectHelper<IfcRepresentationContext,2>::Construct )
  683. , SchemaEntry("ifcgeometricrepresentationcontext",&STEP::ObjectHelper<IfcGeometricRepresentationContext,4>::Construct )
  684. , SchemaEntry("ifcflowtreatmentdevice",&STEP::ObjectHelper<IfcFlowTreatmentDevice,0>::Construct )
  685. , SchemaEntry("ifctextstylefordefinedfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  686. , SchemaEntry("ifcrightcircularcylinder",&STEP::ObjectHelper<IfcRightCircularCylinder,2>::Construct )
  687. , SchemaEntry("ifcwasteterminaltype",&STEP::ObjectHelper<IfcWasteTerminalType,1>::Construct )
  688. , SchemaEntry("ifcspacethermalloadproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  689. , SchemaEntry("ifcconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  690. , SchemaEntry("ifcbuildingelementcomponent",&STEP::ObjectHelper<IfcBuildingElementComponent,0>::Construct )
  691. , SchemaEntry("ifcbuildingelementpart",&STEP::ObjectHelper<IfcBuildingElementPart,0>::Construct )
  692. , SchemaEntry("ifcwall",&STEP::ObjectHelper<IfcWall,0>::Construct )
  693. , SchemaEntry("ifcwallstandardcase",&STEP::ObjectHelper<IfcWallStandardCase,0>::Construct )
  694. , SchemaEntry("ifcapprovalactorrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  695. , SchemaEntry("ifcpath",&STEP::ObjectHelper<IfcPath,1>::Construct )
  696. , SchemaEntry("ifcdefinedsymbol",&STEP::ObjectHelper<IfcDefinedSymbol,2>::Construct )
  697. , SchemaEntry("ifcstructuralsurfacemembervarying",&STEP::ObjectHelper<IfcStructuralSurfaceMemberVarying,2>::Construct )
  698. , SchemaEntry("ifcpoint",&STEP::ObjectHelper<IfcPoint,0>::Construct )
  699. , SchemaEntry("ifcsurfaceofrevolution",&STEP::ObjectHelper<IfcSurfaceOfRevolution,1>::Construct )
  700. , SchemaEntry("ifcflowterminal",&STEP::ObjectHelper<IfcFlowTerminal,0>::Construct )
  701. , SchemaEntry("ifcfurnishingelement",&STEP::ObjectHelper<IfcFurnishingElement,0>::Construct )
  702. , SchemaEntry("ifccurvestylefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  703. , SchemaEntry("ifcsurfacestyleshading",&STEP::ObjectHelper<IfcSurfaceStyleShading,1>::Construct )
  704. , SchemaEntry("ifcsurfacestylerendering",&STEP::ObjectHelper<IfcSurfaceStyleRendering,8>::Construct )
  705. , SchemaEntry("ifccoordinateduniversaltimeoffset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  706. , SchemaEntry("ifcstructuralloadsingledisplacement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  707. , SchemaEntry("ifccirclehollowprofiledef",&STEP::ObjectHelper<IfcCircleHollowProfileDef,1>::Construct )
  708. , SchemaEntry("ifcflowmovingdevicetype",&STEP::ObjectHelper<IfcFlowMovingDeviceType,0>::Construct )
  709. , SchemaEntry("ifcfantype",&STEP::ObjectHelper<IfcFanType,1>::Construct )
  710. , SchemaEntry("ifcstructuralplanaractionvarying",&STEP::ObjectHelper<IfcStructuralPlanarActionVarying,2>::Construct )
  711. , SchemaEntry("ifcproductrepresentation",&STEP::ObjectHelper<IfcProductRepresentation,3>::Construct )
  712. , SchemaEntry("ifcreldefinesbytype",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  713. , SchemaEntry("ifcpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  714. , SchemaEntry("ifctextstylefontmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  715. , SchemaEntry("ifcstackterminaltype",&STEP::ObjectHelper<IfcStackTerminalType,1>::Construct )
  716. , SchemaEntry("ifcapprovalpropertyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  717. , SchemaEntry("ifcexternallydefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  718. , SchemaEntry("ifcreinforcingelement",&STEP::ObjectHelper<IfcReinforcingElement,1>::Construct )
  719. , SchemaEntry("ifcreinforcingmesh",&STEP::ObjectHelper<IfcReinforcingMesh,8>::Construct )
  720. , SchemaEntry("ifcorderaction",&STEP::ObjectHelper<IfcOrderAction,1>::Construct )
  721. , SchemaEntry("ifcrelcoversbldgelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  722. , SchemaEntry("ifclightsource",&STEP::ObjectHelper<IfcLightSource,4>::Construct )
  723. , SchemaEntry("ifclightsourcedirectional",&STEP::ObjectHelper<IfcLightSourceDirectional,1>::Construct )
  724. , SchemaEntry("ifcloop",&STEP::ObjectHelper<IfcLoop,0>::Construct )
  725. , SchemaEntry("ifcvertexloop",&STEP::ObjectHelper<IfcVertexLoop,1>::Construct )
  726. , SchemaEntry("ifcchamferedgefeature",&STEP::ObjectHelper<IfcChamferEdgeFeature,2>::Construct )
  727. , SchemaEntry("ifcwindowpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  728. , SchemaEntry("ifcclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  729. , SchemaEntry("ifcelementcomponenttype",&STEP::ObjectHelper<IfcElementComponentType,0>::Construct )
  730. , SchemaEntry("ifcfastenertype",&STEP::ObjectHelper<IfcFastenerType,0>::Construct )
  731. , SchemaEntry("ifcmechanicalfastenertype",&STEP::ObjectHelper<IfcMechanicalFastenerType,0>::Construct )
  732. , SchemaEntry("ifcscheduletimecontrol",&STEP::ObjectHelper<IfcScheduleTimeControl,18>::Construct )
  733. , SchemaEntry("ifcsurfacestyle",&STEP::ObjectHelper<IfcSurfaceStyle,2>::Construct )
  734. , SchemaEntry("ifcreinforcementbarproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  735. , SchemaEntry("ifcopenshell",&STEP::ObjectHelper<IfcOpenShell,0>::Construct )
  736. , SchemaEntry("ifclibraryreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  737. , SchemaEntry("ifcsubcontractresource",&STEP::ObjectHelper<IfcSubContractResource,2>::Construct )
  738. , SchemaEntry("ifctimeseriesreferencerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  739. , SchemaEntry("ifcsweptdisksolid",&STEP::ObjectHelper<IfcSweptDiskSolid,5>::Construct )
  740. , SchemaEntry("ifccompositeprofiledef",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  741. , SchemaEntry("ifcelectricalbaseproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  742. , SchemaEntry("ifcpredefinedpointmarkersymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  743. , SchemaEntry("ifctanktype",&STEP::ObjectHelper<IfcTankType,1>::Construct )
  744. , SchemaEntry("ifcboundarynodecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  745. , SchemaEntry("ifcboundarynodeconditionwarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  746. , SchemaEntry("ifcrelassignstogroup",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  747. , SchemaEntry("ifcpresentationlayerassignment",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  748. , SchemaEntry("ifcsphere",&STEP::ObjectHelper<IfcSphere,1>::Construct )
  749. , SchemaEntry("ifcpolyloop",&STEP::ObjectHelper<IfcPolyLoop,1>::Construct )
  750. , SchemaEntry("ifccablecarrierfittingtype",&STEP::ObjectHelper<IfcCableCarrierFittingType,1>::Construct )
  751. , SchemaEntry("ifchumidifiertype",&STEP::ObjectHelper<IfcHumidifierType,1>::Construct )
  752. , SchemaEntry("ifcpropertylistvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  753. , SchemaEntry("ifcpropertyconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  754. , SchemaEntry("ifcperformancehistory",&STEP::ObjectHelper<IfcPerformanceHistory,1>::Construct )
  755. , SchemaEntry("ifcshapemodel",&STEP::ObjectHelper<IfcShapeModel,0>::Construct )
  756. , SchemaEntry("ifctopologyrepresentation",&STEP::ObjectHelper<IfcTopologyRepresentation,0>::Construct )
  757. , SchemaEntry("ifcbuilding",&STEP::ObjectHelper<IfcBuilding,3>::Construct )
  758. , SchemaEntry("ifcroundedrectangleprofiledef",&STEP::ObjectHelper<IfcRoundedRectangleProfileDef,1>::Construct )
  759. , SchemaEntry("ifcstairflight",&STEP::ObjectHelper<IfcStairFlight,4>::Construct )
  760. , SchemaEntry("ifcsurfacestylerefraction",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  761. , SchemaEntry("ifcrelinteractionrequirements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  762. , SchemaEntry("ifcconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  763. , SchemaEntry("ifcobjective",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  764. , SchemaEntry("ifcconnectionportgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  765. , SchemaEntry("ifcdistributionchamberelement",&STEP::ObjectHelper<IfcDistributionChamberElement,0>::Construct )
  766. , SchemaEntry("ifcpersonandorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  767. , SchemaEntry("ifcshaperepresentation",&STEP::ObjectHelper<IfcShapeRepresentation,0>::Construct )
  768. , SchemaEntry("ifcrampflight",&STEP::ObjectHelper<IfcRampFlight,0>::Construct )
  769. , SchemaEntry("ifcbeamtype",&STEP::ObjectHelper<IfcBeamType,1>::Construct )
  770. , SchemaEntry("ifcreldecomposes",&STEP::ObjectHelper<IfcRelDecomposes,2>::Construct )
  771. , SchemaEntry("ifcroof",&STEP::ObjectHelper<IfcRoof,1>::Construct )
  772. , SchemaEntry("ifcfooting",&STEP::ObjectHelper<IfcFooting,1>::Construct )
  773. , SchemaEntry("ifcrelcoversspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  774. , SchemaEntry("ifclightsourceambient",&STEP::ObjectHelper<IfcLightSourceAmbient,0>::Construct )
  775. , SchemaEntry("ifctimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  776. , SchemaEntry("ifcwindowstyle",&STEP::ObjectHelper<IfcWindowStyle,4>::Construct )
  777. , SchemaEntry("ifcpropertyreferencevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  778. , SchemaEntry("ifcapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  779. , SchemaEntry("ifcrelconnectsstructuralelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  780. , SchemaEntry("ifcbuildingelementproxytype",&STEP::ObjectHelper<IfcBuildingElementProxyType,1>::Construct )
  781. , SchemaEntry("ifcrelassociatesprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  782. , SchemaEntry("ifcaxis2placement3d",&STEP::ObjectHelper<IfcAxis2Placement3D,2>::Construct )
  783. , SchemaEntry("ifcrelconnectsports",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  784. , SchemaEntry("ifcedgecurve",&STEP::ObjectHelper<IfcEdgeCurve,2>::Construct )
  785. , SchemaEntry("ifcclosedshell",&STEP::ObjectHelper<IfcClosedShell,0>::Construct )
  786. , SchemaEntry("ifctendonanchor",&STEP::ObjectHelper<IfcTendonAnchor,0>::Construct )
  787. , SchemaEntry("ifccondensertype",&STEP::ObjectHelper<IfcCondenserType,1>::Construct )
  788. , SchemaEntry("ifcquantitytime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  789. , SchemaEntry("ifcsurfacetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  790. , SchemaEntry("ifcpixeltexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  791. , SchemaEntry("ifcstructuralconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  792. , SchemaEntry("ifcfailureconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  793. , SchemaEntry("ifcdocumentreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  794. , SchemaEntry("ifcmechanicalsteelmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  795. , SchemaEntry("ifcpipesegmenttype",&STEP::ObjectHelper<IfcPipeSegmentType,1>::Construct )
  796. , SchemaEntry("ifcpointonsurface",&STEP::ObjectHelper<IfcPointOnSurface,3>::Construct )
  797. , SchemaEntry("ifctable",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  798. , SchemaEntry("ifclightdistributiondata",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  799. , SchemaEntry("ifcpropertytablevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  800. , SchemaEntry("ifcpresentationlayerwithstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  801. , SchemaEntry("ifcasset",&STEP::ObjectHelper<IfcAsset,9>::Construct )
  802. , SchemaEntry("ifclightsourcepositional",&STEP::ObjectHelper<IfcLightSourcePositional,5>::Construct )
  803. , SchemaEntry("ifclibraryinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  804. , SchemaEntry("ifctextstyletextmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  805. , SchemaEntry("ifcprojectioncurve",&STEP::ObjectHelper<IfcProjectionCurve,0>::Construct )
  806. , SchemaEntry("ifcfillareastyletiles",&STEP::ObjectHelper<IfcFillAreaStyleTiles,3>::Construct )
  807. , SchemaEntry("ifcrelfillselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  808. , SchemaEntry("ifcelectricmotortype",&STEP::ObjectHelper<IfcElectricMotorType,1>::Construct )
  809. , SchemaEntry("ifctendon",&STEP::ObjectHelper<IfcTendon,8>::Construct )
  810. , SchemaEntry("ifcdistributionchamberelementtype",&STEP::ObjectHelper<IfcDistributionChamberElementType,1>::Construct )
  811. , SchemaEntry("ifcmembertype",&STEP::ObjectHelper<IfcMemberType,1>::Construct )
  812. , SchemaEntry("ifcstructurallinearaction",&STEP::ObjectHelper<IfcStructuralLinearAction,1>::Construct )
  813. , SchemaEntry("ifcstructurallinearactionvarying",&STEP::ObjectHelper<IfcStructuralLinearActionVarying,2>::Construct )
  814. , SchemaEntry("ifcproductdefinitionshape",&STEP::ObjectHelper<IfcProductDefinitionShape,0>::Construct )
  815. , SchemaEntry("ifcfastener",&STEP::ObjectHelper<IfcFastener,0>::Construct )
  816. , SchemaEntry("ifcmechanicalfastener",&STEP::ObjectHelper<IfcMechanicalFastener,2>::Construct )
  817. , SchemaEntry("ifcfuelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  818. , SchemaEntry("ifcevaporatortype",&STEP::ObjectHelper<IfcEvaporatorType,1>::Construct )
  819. , SchemaEntry("ifcmateriallayersetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  820. , SchemaEntry("ifcdiscreteaccessorytype",&STEP::ObjectHelper<IfcDiscreteAccessoryType,0>::Construct )
  821. , SchemaEntry("ifcstructuralcurveconnection",&STEP::ObjectHelper<IfcStructuralCurveConnection,0>::Construct )
  822. , SchemaEntry("ifcprojectionelement",&STEP::ObjectHelper<IfcProjectionElement,0>::Construct )
  823. , SchemaEntry("ifcimagetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  824. , SchemaEntry("ifccoveringtype",&STEP::ObjectHelper<IfcCoveringType,1>::Construct )
  825. , SchemaEntry("ifcrelassociatesappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  826. , SchemaEntry("ifcpumptype",&STEP::ObjectHelper<IfcPumpType,1>::Construct )
  827. , SchemaEntry("ifcpile",&STEP::ObjectHelper<IfcPile,2>::Construct )
  828. , SchemaEntry("ifcunitassignment",&STEP::ObjectHelper<IfcUnitAssignment,1>::Construct )
  829. , SchemaEntry("ifcboundingbox",&STEP::ObjectHelper<IfcBoundingBox,4>::Construct )
  830. , SchemaEntry("ifcshellbasedsurfacemodel",&STEP::ObjectHelper<IfcShellBasedSurfaceModel,1>::Construct )
  831. , SchemaEntry("ifcfacetedbrep",&STEP::ObjectHelper<IfcFacetedBrep,0>::Construct )
  832. , SchemaEntry("ifctextliteralwithextent",&STEP::ObjectHelper<IfcTextLiteralWithExtent,2>::Construct )
  833. , SchemaEntry("ifcapplication",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  834. , SchemaEntry("ifcextendedmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  835. , SchemaEntry("ifcelectricappliancetype",&STEP::ObjectHelper<IfcElectricApplianceType,1>::Construct )
  836. , SchemaEntry("ifcreloccupiesspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  837. , SchemaEntry("ifctrapeziumprofiledef",&STEP::ObjectHelper<IfcTrapeziumProfileDef,4>::Construct )
  838. , SchemaEntry("ifcquantityweight",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  839. , SchemaEntry("ifcrelcontainedinspatialstructure",&STEP::ObjectHelper<IfcRelContainedInSpatialStructure,2>::Construct )
  840. , SchemaEntry("ifcedgeloop",&STEP::ObjectHelper<IfcEdgeLoop,1>::Construct )
  841. , SchemaEntry("ifcproject",&STEP::ObjectHelper<IfcProject,4>::Construct )
  842. , SchemaEntry("ifccartesianpoint",&STEP::ObjectHelper<IfcCartesianPoint,1>::Construct )
  843. , SchemaEntry("ifcmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  844. , SchemaEntry("ifccurveboundedplane",&STEP::ObjectHelper<IfcCurveBoundedPlane,3>::Construct )
  845. , SchemaEntry("ifcwalltype",&STEP::ObjectHelper<IfcWallType,1>::Construct )
  846. , SchemaEntry("ifcfillareastylehatching",&STEP::ObjectHelper<IfcFillAreaStyleHatching,5>::Construct )
  847. , SchemaEntry("ifcequipmentstandard",&STEP::ObjectHelper<IfcEquipmentStandard,0>::Construct )
  848. , SchemaEntry("ifchygroscopicmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  849. , SchemaEntry("ifcdoorpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  850. , SchemaEntry("ifcdiameterdimension",&STEP::ObjectHelper<IfcDiameterDimension,0>::Construct )
  851. , SchemaEntry("ifcstructuralloadgroup",&STEP::ObjectHelper<IfcStructuralLoadGroup,5>::Construct )
  852. , SchemaEntry("ifctelecomaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  853. , SchemaEntry("ifcconstructionmaterialresource",&STEP::ObjectHelper<IfcConstructionMaterialResource,2>::Construct )
  854. , SchemaEntry("ifcblobtexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  855. , SchemaEntry("ifcirregulartimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  856. , SchemaEntry("ifcrelaggregates",&STEP::ObjectHelper<IfcRelAggregates,0>::Construct )
  857. , SchemaEntry("ifcboilertype",&STEP::ObjectHelper<IfcBoilerType,1>::Construct )
  858. , SchemaEntry("ifcrelprojectselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  859. , SchemaEntry("ifccolourspecification",&STEP::ObjectHelper<IfcColourSpecification,1>::Construct )
  860. , SchemaEntry("ifccolourrgb",&STEP::ObjectHelper<IfcColourRgb,3>::Construct )
  861. , SchemaEntry("ifcrelconnectsstructuralactivity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  862. , SchemaEntry("ifcdoorstyle",&STEP::ObjectHelper<IfcDoorStyle,4>::Construct )
  863. , SchemaEntry("ifcstructuralloadsingledisplacementdistortion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  864. , SchemaEntry("ifcrelassignstoprocess",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  865. , SchemaEntry("ifcductsilencertype",&STEP::ObjectHelper<IfcDuctSilencerType,1>::Construct )
  866. , SchemaEntry("ifclightsourcegoniometric",&STEP::ObjectHelper<IfcLightSourceGoniometric,6>::Construct )
  867. , SchemaEntry("ifcactuatortype",&STEP::ObjectHelper<IfcActuatorType,1>::Construct )
  868. , SchemaEntry("ifcsensortype",&STEP::ObjectHelper<IfcSensorType,1>::Construct )
  869. , SchemaEntry("ifcairterminalboxtype",&STEP::ObjectHelper<IfcAirTerminalBoxType,1>::Construct )
  870. , SchemaEntry("ifcannotationsurfaceoccurrence",&STEP::ObjectHelper<IfcAnnotationSurfaceOccurrence,0>::Construct )
  871. , SchemaEntry("ifczshapeprofiledef",&STEP::ObjectHelper<IfcZShapeProfileDef,6>::Construct )
  872. , SchemaEntry("ifcclassificationnotation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  873. , SchemaEntry("ifcrationalbeziercurve",&STEP::ObjectHelper<IfcRationalBezierCurve,1>::Construct )
  874. , SchemaEntry("ifccartesiantransformationoperator2d",&STEP::ObjectHelper<IfcCartesianTransformationOperator2D,0>::Construct )
  875. , SchemaEntry("ifccartesiantransformationoperator2dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator2DnonUniform,1>::Construct )
  876. , SchemaEntry("ifcmove",&STEP::ObjectHelper<IfcMove,3>::Construct )
  877. , SchemaEntry("ifcboundaryedgecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  878. , SchemaEntry("ifcdoorliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  879. , SchemaEntry("ifccablecarriersegmenttype",&STEP::ObjectHelper<IfcCableCarrierSegmentType,1>::Construct )
  880. , SchemaEntry("ifcpostaladdress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  881. , SchemaEntry("ifcrelconnectspathelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  882. , SchemaEntry("ifcelectricalelement",&STEP::ObjectHelper<IfcElectricalElement,0>::Construct )
  883. , SchemaEntry("ifcownerhistory",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  884. , SchemaEntry("ifcstructuralloadtemperature",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  885. , SchemaEntry("ifctextstylewithboxcharacteristics",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  886. , SchemaEntry("ifcchillertype",&STEP::ObjectHelper<IfcChillerType,1>::Construct )
  887. , SchemaEntry("ifcrelschedulescostitems",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  888. , SchemaEntry("ifcreinforcingbar",&STEP::ObjectHelper<IfcReinforcingBar,5>::Construct )
  889. , SchemaEntry("ifccurrencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  890. , SchemaEntry("ifcsoundvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  891. , SchemaEntry("ifccshapeprofiledef",&STEP::ObjectHelper<IfcCShapeProfileDef,6>::Construct )
  892. , SchemaEntry("ifcpermit",&STEP::ObjectHelper<IfcPermit,1>::Construct )
  893. , SchemaEntry("ifcslabtype",&STEP::ObjectHelper<IfcSlabType,1>::Construct )
  894. , SchemaEntry("ifcslippageconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  895. , SchemaEntry("ifclamptype",&STEP::ObjectHelper<IfcLampType,1>::Construct )
  896. , SchemaEntry("ifcplanarextent",&STEP::ObjectHelper<IfcPlanarExtent,2>::Construct )
  897. , SchemaEntry("ifcalarmtype",&STEP::ObjectHelper<IfcAlarmType,1>::Construct )
  898. , SchemaEntry("ifcdocumentelectronicformat",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  899. , SchemaEntry("ifcelectricflowstoragedevicetype",&STEP::ObjectHelper<IfcElectricFlowStorageDeviceType,1>::Construct )
  900. , SchemaEntry("ifcequipmentelement",&STEP::ObjectHelper<IfcEquipmentElement,0>::Construct )
  901. , SchemaEntry("ifclightfixturetype",&STEP::ObjectHelper<IfcLightFixtureType,1>::Construct )
  902. , SchemaEntry("ifcmetric",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  903. , SchemaEntry("ifcrelnests",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  904. , SchemaEntry("ifccurtainwall",&STEP::ObjectHelper<IfcCurtainWall,0>::Construct )
  905. , SchemaEntry("ifcrelassociatesdocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  906. , SchemaEntry("ifccomplexproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  907. , SchemaEntry("ifcvertexbasedtexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  908. , SchemaEntry("ifcslab",&STEP::ObjectHelper<IfcSlab,1>::Construct )
  909. , SchemaEntry("ifccurtainwalltype",&STEP::ObjectHelper<IfcCurtainWallType,1>::Construct )
  910. , SchemaEntry("ifcoutlettype",&STEP::ObjectHelper<IfcOutletType,1>::Construct )
  911. , SchemaEntry("ifccompressortype",&STEP::ObjectHelper<IfcCompressorType,1>::Construct )
  912. , SchemaEntry("ifccranerailashapeprofiledef",&STEP::ObjectHelper<IfcCraneRailAShapeProfileDef,12>::Construct )
  913. , SchemaEntry("ifcflowsegment",&STEP::ObjectHelper<IfcFlowSegment,0>::Construct )
  914. , SchemaEntry("ifcsectionedspine",&STEP::ObjectHelper<IfcSectionedSpine,3>::Construct )
  915. , SchemaEntry("ifctablerow",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  916. , SchemaEntry("ifcdraughtingpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  917. , SchemaEntry("ifcelectrictimecontroltype",&STEP::ObjectHelper<IfcElectricTimeControlType,1>::Construct )
  918. , SchemaEntry("ifcfacesurface",&STEP::ObjectHelper<IfcFaceSurface,2>::Construct )
  919. , SchemaEntry("ifcmateriallist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  920. , SchemaEntry("ifcmotorconnectiontype",&STEP::ObjectHelper<IfcMotorConnectionType,1>::Construct )
  921. , SchemaEntry("ifcflowfitting",&STEP::ObjectHelper<IfcFlowFitting,0>::Construct )
  922. , SchemaEntry("ifcpointoncurve",&STEP::ObjectHelper<IfcPointOnCurve,2>::Construct )
  923. , SchemaEntry("ifctransportelementtype",&STEP::ObjectHelper<IfcTransportElementType,1>::Construct )
  924. , SchemaEntry("ifcregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  925. , SchemaEntry("ifcrelassociatesconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  926. , SchemaEntry("ifcpropertyenumeratedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  927. , SchemaEntry("ifcstructuralsteelprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  928. , SchemaEntry("ifccablesegmenttype",&STEP::ObjectHelper<IfcCableSegmentType,1>::Construct )
  929. , SchemaEntry("ifcexternallydefinedhatchstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  930. , SchemaEntry("ifcannotationsurface",&STEP::ObjectHelper<IfcAnnotationSurface,2>::Construct )
  931. , SchemaEntry("ifccompositecurvesegment",&STEP::ObjectHelper<IfcCompositeCurveSegment,3>::Construct )
  932. , SchemaEntry("ifcservicelife",&STEP::ObjectHelper<IfcServiceLife,2>::Construct )
  933. , SchemaEntry("ifcplatetype",&STEP::ObjectHelper<IfcPlateType,1>::Construct )
  934. , SchemaEntry("ifccurvestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  935. , SchemaEntry("ifcsectionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  936. , SchemaEntry("ifcvibrationisolatortype",&STEP::ObjectHelper<IfcVibrationIsolatorType,1>::Construct )
  937. , SchemaEntry("ifctexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  938. , SchemaEntry("ifctrimmedcurve",&STEP::ObjectHelper<IfcTrimmedCurve,5>::Construct )
  939. , SchemaEntry("ifcmappeditem",&STEP::ObjectHelper<IfcMappedItem,2>::Construct )
  940. , SchemaEntry("ifcmateriallayer",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  941. , SchemaEntry("ifcdirection",&STEP::ObjectHelper<IfcDirection,1>::Construct )
  942. , SchemaEntry("ifcblock",&STEP::ObjectHelper<IfcBlock,3>::Construct )
  943. , SchemaEntry("ifcprojectorderrecord",&STEP::ObjectHelper<IfcProjectOrderRecord,2>::Construct )
  944. , SchemaEntry("ifcflowmetertype",&STEP::ObjectHelper<IfcFlowMeterType,1>::Construct )
  945. , SchemaEntry("ifccontrollertype",&STEP::ObjectHelper<IfcControllerType,1>::Construct )
  946. , SchemaEntry("ifcbeam",&STEP::ObjectHelper<IfcBeam,0>::Construct )
  947. , SchemaEntry("ifcarbitraryopenprofiledef",&STEP::ObjectHelper<IfcArbitraryOpenProfileDef,1>::Construct )
  948. , SchemaEntry("ifccenterlineprofiledef",&STEP::ObjectHelper<IfcCenterLineProfileDef,1>::Construct )
  949. , SchemaEntry("ifcstructuralloadplanarforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  950. , SchemaEntry("ifctimeseriesschedule",&STEP::ObjectHelper<IfcTimeSeriesSchedule,3>::Construct )
  951. , SchemaEntry("ifcroundededgefeature",&STEP::ObjectHelper<IfcRoundedEdgeFeature,1>::Construct )
  952. , SchemaEntry("ifcwindowliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  953. , SchemaEntry("ifcreloverridesproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  954. , SchemaEntry("ifcapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  955. , SchemaEntry("ifcishapeprofiledef",&STEP::ObjectHelper<IfcIShapeProfileDef,5>::Construct )
  956. , SchemaEntry("ifcspaceheatertype",&STEP::ObjectHelper<IfcSpaceHeaterType,1>::Construct )
  957. , SchemaEntry("ifcexternallydefinedsurfacestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  958. , SchemaEntry("ifcderivedunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  959. , SchemaEntry("ifcflowstoragedevice",&STEP::ObjectHelper<IfcFlowStorageDevice,0>::Construct )
  960. , SchemaEntry("ifcmaterialclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  961. , SchemaEntry("ifcclassificationitem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  962. , SchemaEntry("ifcrevolvedareasolid",&STEP::ObjectHelper<IfcRevolvedAreaSolid,2>::Construct )
  963. , SchemaEntry("ifcconnectionpointgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  964. , SchemaEntry("ifcdoor",&STEP::ObjectHelper<IfcDoor,2>::Construct )
  965. , SchemaEntry("ifcellipse",&STEP::ObjectHelper<IfcEllipse,2>::Construct )
  966. , SchemaEntry("ifctubebundletype",&STEP::ObjectHelper<IfcTubeBundleType,1>::Construct )
  967. , SchemaEntry("ifcangulardimension",&STEP::ObjectHelper<IfcAngularDimension,0>::Construct )
  968. , SchemaEntry("ifcthermalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  969. , SchemaEntry("ifcfacebasedsurfacemodel",&STEP::ObjectHelper<IfcFaceBasedSurfaceModel,1>::Construct )
  970. , SchemaEntry("ifccranerailfshapeprofiledef",&STEP::ObjectHelper<IfcCraneRailFShapeProfileDef,9>::Construct )
  971. , SchemaEntry("ifccolumntype",&STEP::ObjectHelper<IfcColumnType,1>::Construct )
  972. , SchemaEntry("ifctshapeprofiledef",&STEP::ObjectHelper<IfcTShapeProfileDef,10>::Construct )
  973. , SchemaEntry("ifcenergyconversiondevice",&STEP::ObjectHelper<IfcEnergyConversionDevice,0>::Construct )
  974. , SchemaEntry("ifcconnectionpointeccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  975. , SchemaEntry("ifcreinforcementdefinitionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  976. , SchemaEntry("ifccurvestylefontandscaling",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  977. , SchemaEntry("ifcworkschedule",&STEP::ObjectHelper<IfcWorkSchedule,0>::Construct )
  978. , SchemaEntry("ifcorganizationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  979. , SchemaEntry("ifczone",&STEP::ObjectHelper<IfcZone,0>::Construct )
  980. , SchemaEntry("ifctransportelement",&STEP::ObjectHelper<IfcTransportElement,3>::Construct )
  981. , SchemaEntry("ifcdraughtingpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  982. , SchemaEntry("ifcgeometricrepresentationsubcontext",&STEP::ObjectHelper<IfcGeometricRepresentationSubContext,4>::Construct )
  983. , SchemaEntry("ifclshapeprofiledef",&STEP::ObjectHelper<IfcLShapeProfileDef,8>::Construct )
  984. , SchemaEntry("ifcgeometriccurveset",&STEP::ObjectHelper<IfcGeometricCurveSet,0>::Construct )
  985. , SchemaEntry("ifcactor",&STEP::ObjectHelper<IfcActor,1>::Construct )
  986. , SchemaEntry("ifcoccupant",&STEP::ObjectHelper<IfcOccupant,1>::Construct )
  987. , SchemaEntry("ifcphysicalcomplexquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  988. , SchemaEntry("ifcbooleanclippingresult",&STEP::ObjectHelper<IfcBooleanClippingResult,0>::Construct )
  989. , SchemaEntry("ifcpredefinedterminatorsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  990. , SchemaEntry("ifcannotationfillarea",&STEP::ObjectHelper<IfcAnnotationFillArea,2>::Construct )
  991. , SchemaEntry("ifcconstraintaggregationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  992. , SchemaEntry("ifcrelassociatesapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  993. , SchemaEntry("ifcrelassociatesmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  994. , SchemaEntry("ifcrelassignstoproduct",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  995. , SchemaEntry("ifcappliedvaluerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  996. , SchemaEntry("ifclightsourcespot",&STEP::ObjectHelper<IfcLightSourceSpot,4>::Construct )
  997. , SchemaEntry("ifcfiresuppressionterminaltype",&STEP::ObjectHelper<IfcFireSuppressionTerminalType,1>::Construct )
  998. , SchemaEntry("ifcelementquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  999. , SchemaEntry("ifcdimensionpair",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1000. , SchemaEntry("ifcelectricgeneratortype",&STEP::ObjectHelper<IfcElectricGeneratorType,1>::Construct )
  1001. , SchemaEntry("ifcrelsequence",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1002. , SchemaEntry("ifcinventory",&STEP::ObjectHelper<IfcInventory,6>::Construct )
  1003. , SchemaEntry("ifcpolyline",&STEP::ObjectHelper<IfcPolyline,1>::Construct )
  1004. , SchemaEntry("ifcboxedhalfspace",&STEP::ObjectHelper<IfcBoxedHalfSpace,1>::Construct )
  1005. , SchemaEntry("ifcairterminaltype",&STEP::ObjectHelper<IfcAirTerminalType,1>::Construct )
  1006. , SchemaEntry("ifcsectionreinforcementproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1007. , SchemaEntry("ifcdistributionport",&STEP::ObjectHelper<IfcDistributionPort,1>::Construct )
  1008. , SchemaEntry("ifccostitem",&STEP::ObjectHelper<IfcCostItem,0>::Construct )
  1009. , SchemaEntry("ifcstructureddimensioncallout",&STEP::ObjectHelper<IfcStructuredDimensionCallout,0>::Construct )
  1010. , SchemaEntry("ifcstructuralresultgroup",&STEP::ObjectHelper<IfcStructuralResultGroup,3>::Construct )
  1011. , SchemaEntry("ifcrelspaceboundary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1012. , SchemaEntry("ifcorientededge",&STEP::ObjectHelper<IfcOrientedEdge,2>::Construct )
  1013. , SchemaEntry("ifcrelassignstoresource",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1014. , SchemaEntry("ifccsgsolid",&STEP::ObjectHelper<IfcCsgSolid,1>::Construct )
  1015. , SchemaEntry("ifcproductsofcombustionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1016. , SchemaEntry("ifcrelaxation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1017. , SchemaEntry("ifcplanarbox",&STEP::ObjectHelper<IfcPlanarBox,1>::Construct )
  1018. , SchemaEntry("ifcquantitylength",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1019. , SchemaEntry("ifcmaterialdefinitionrepresentation",&STEP::ObjectHelper<IfcMaterialDefinitionRepresentation,1>::Construct )
  1020. , SchemaEntry("ifcasymmetricishapeprofiledef",&STEP::ObjectHelper<IfcAsymmetricIShapeProfileDef,4>::Construct )
  1021. , SchemaEntry("ifcrepresentationmap",&STEP::ObjectHelper<IfcRepresentationMap,2>::Construct )
  1022. };
  1023. }
  1024. // -----------------------------------------------------------------------------------------------------------
  1025. void IFC::GetSchema(EXPRESS::ConversionSchema& out)
  1026. {
  1027. out = EXPRESS::ConversionSchema(schema_raw);
  1028. }
  1029. namespace STEP {
  1030. // -----------------------------------------------------------------------------------------------------------
  1031. template <> size_t GenericFill<NotImplemented>(const STEP::DB& db, const LIST& params, NotImplemented* in)
  1032. {
  1033. return 0;
  1034. }
  1035. // -----------------------------------------------------------------------------------------------------------
  1036. template <> size_t GenericFill<IfcRoot>(const DB& db, const LIST& params, IfcRoot* in)
  1037. {
  1038. size_t base = 0;
  1039. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRoot"); } do { // convert the 'GlobalId' argument
  1040. const DataType* arg = params[base++];
  1041. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[0]=true; break; }
  1042. try { GenericConvert( in->GlobalId, *arg, db ); break; }
  1043. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRoot to be a `IfcGloballyUniqueId`")); }
  1044. } while(0);
  1045. do { // convert the 'OwnerHistory' argument
  1046. const DataType* arg = params[base++];
  1047. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[1]=true; break; }
  1048. try { GenericConvert( in->OwnerHistory, *arg, db ); break; }
  1049. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRoot to be a `IfcOwnerHistory`")); }
  1050. } while(0);
  1051. do { // convert the 'Name' argument
  1052. const DataType* arg = params[base++];
  1053. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[2]=true; break; }
  1054. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1055. try { GenericConvert( in->Name, *arg, db ); break; }
  1056. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRoot to be a `IfcLabel`")); }
  1057. } while(0);
  1058. do { // convert the 'Description' argument
  1059. const DataType* arg = params[base++];
  1060. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[3]=true; break; }
  1061. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1062. try { GenericConvert( in->Description, *arg, db ); break; }
  1063. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRoot to be a `IfcText`")); }
  1064. } while(0);
  1065. return base;
  1066. }
  1067. // -----------------------------------------------------------------------------------------------------------
  1068. template <> size_t GenericFill<IfcObjectDefinition>(const DB& db, const LIST& params, IfcObjectDefinition* in)
  1069. {
  1070. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1071. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcObjectDefinition"); } return base;
  1072. }
  1073. // -----------------------------------------------------------------------------------------------------------
  1074. template <> size_t GenericFill<IfcTypeObject>(const DB& db, const LIST& params, IfcTypeObject* in)
  1075. {
  1076. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1077. // this data structure is not used yet, so there is no code generated to fill its members
  1078. return base;
  1079. }
  1080. // -----------------------------------------------------------------------------------------------------------
  1081. template <> size_t GenericFill<IfcTypeProduct>(const DB& db, const LIST& params, IfcTypeProduct* in)
  1082. {
  1083. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  1084. // this data structure is not used yet, so there is no code generated to fill its members
  1085. return base;
  1086. }
  1087. // -----------------------------------------------------------------------------------------------------------
  1088. template <> size_t GenericFill<IfcElementType>(const DB& db, const LIST& params, IfcElementType* in)
  1089. {
  1090. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  1091. // this data structure is not used yet, so there is no code generated to fill its members
  1092. return base;
  1093. }
  1094. // -----------------------------------------------------------------------------------------------------------
  1095. template <> size_t GenericFill<IfcFurnishingElementType>(const DB& db, const LIST& params, IfcFurnishingElementType* in)
  1096. {
  1097. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1098. // this data structure is not used yet, so there is no code generated to fill its members
  1099. return base;
  1100. }
  1101. // -----------------------------------------------------------------------------------------------------------
  1102. template <> size_t GenericFill<IfcFurnitureType>(const DB& db, const LIST& params, IfcFurnitureType* in)
  1103. {
  1104. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  1105. // this data structure is not used yet, so there is no code generated to fill its members
  1106. return base;
  1107. }
  1108. // -----------------------------------------------------------------------------------------------------------
  1109. template <> size_t GenericFill<IfcObject>(const DB& db, const LIST& params, IfcObject* in)
  1110. {
  1111. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1112. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcObject"); } do { // convert the 'ObjectType' argument
  1113. const DataType* arg = params[base++];
  1114. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcObject,1>::aux_is_derived[0]=true; break; }
  1115. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1116. try { GenericConvert( in->ObjectType, *arg, db ); break; }
  1117. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcObject to be a `IfcLabel`")); }
  1118. } while(0);
  1119. return base;
  1120. }
  1121. // -----------------------------------------------------------------------------------------------------------
  1122. template <> size_t GenericFill<IfcProduct>(const DB& db, const LIST& params, IfcProduct* in)
  1123. {
  1124. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1125. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcProduct"); } do { // convert the 'ObjectPlacement' argument
  1126. const DataType* arg = params[base++];
  1127. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[0]=true; break; }
  1128. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1129. try { GenericConvert( in->ObjectPlacement, *arg, db ); break; }
  1130. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProduct to be a `IfcObjectPlacement`")); }
  1131. } while(0);
  1132. do { // convert the 'Representation' argument
  1133. const DataType* arg = params[base++];
  1134. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[1]=true; break; }
  1135. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1136. try { GenericConvert( in->Representation, *arg, db ); break; }
  1137. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProduct to be a `IfcProductRepresentation`")); }
  1138. } while(0);
  1139. return base;
  1140. }
  1141. // -----------------------------------------------------------------------------------------------------------
  1142. template <> size_t GenericFill<IfcGrid>(const DB& db, const LIST& params, IfcGrid* in)
  1143. {
  1144. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1145. // this data structure is not used yet, so there is no code generated to fill its members
  1146. return base;
  1147. }
  1148. // -----------------------------------------------------------------------------------------------------------
  1149. template <> size_t GenericFill<IfcRepresentationItem>(const DB& db, const LIST& params, IfcRepresentationItem* in)
  1150. {
  1151. size_t base = 0;
  1152. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcRepresentationItem"); } return base;
  1153. }
  1154. // -----------------------------------------------------------------------------------------------------------
  1155. template <> size_t GenericFill<IfcGeometricRepresentationItem>(const DB& db, const LIST& params, IfcGeometricRepresentationItem* in)
  1156. {
  1157. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1158. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcGeometricRepresentationItem"); } return base;
  1159. }
  1160. // -----------------------------------------------------------------------------------------------------------
  1161. template <> size_t GenericFill<IfcOneDirectionRepeatFactor>(const DB& db, const LIST& params, IfcOneDirectionRepeatFactor* in)
  1162. {
  1163. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1164. // this data structure is not used yet, so there is no code generated to fill its members
  1165. return base;
  1166. }
  1167. // -----------------------------------------------------------------------------------------------------------
  1168. template <> size_t GenericFill<IfcTwoDirectionRepeatFactor>(const DB& db, const LIST& params, IfcTwoDirectionRepeatFactor* in)
  1169. {
  1170. size_t base = GenericFill(db,params,static_cast<IfcOneDirectionRepeatFactor*>(in));
  1171. // this data structure is not used yet, so there is no code generated to fill its members
  1172. return base;
  1173. }
  1174. // -----------------------------------------------------------------------------------------------------------
  1175. template <> size_t GenericFill<IfcElement>(const DB& db, const LIST& params, IfcElement* in)
  1176. {
  1177. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1178. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcElement"); } do { // convert the 'Tag' argument
  1179. const DataType* arg = params[base++];
  1180. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElement,1>::aux_is_derived[0]=true; break; }
  1181. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1182. try { GenericConvert( in->Tag, *arg, db ); break; }
  1183. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcElement to be a `IfcIdentifier`")); }
  1184. } while(0);
  1185. return base;
  1186. }
  1187. // -----------------------------------------------------------------------------------------------------------
  1188. template <> size_t GenericFill<IfcElementComponent>(const DB& db, const LIST& params, IfcElementComponent* in)
  1189. {
  1190. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1191. // this data structure is not used yet, so there is no code generated to fill its members
  1192. return base;
  1193. }
  1194. // -----------------------------------------------------------------------------------------------------------
  1195. template <> size_t GenericFill<IfcSpatialStructureElementType>(const DB& db, const LIST& params, IfcSpatialStructureElementType* in)
  1196. {
  1197. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1198. // this data structure is not used yet, so there is no code generated to fill its members
  1199. return base;
  1200. }
  1201. // -----------------------------------------------------------------------------------------------------------
  1202. template <> size_t GenericFill<IfcControl>(const DB& db, const LIST& params, IfcControl* in)
  1203. {
  1204. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1205. // this data structure is not used yet, so there is no code generated to fill its members
  1206. return base;
  1207. }
  1208. // -----------------------------------------------------------------------------------------------------------
  1209. template <> size_t GenericFill<IfcActionRequest>(const DB& db, const LIST& params, IfcActionRequest* in)
  1210. {
  1211. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1212. // this data structure is not used yet, so there is no code generated to fill its members
  1213. return base;
  1214. }
  1215. // -----------------------------------------------------------------------------------------------------------
  1216. template <> size_t GenericFill<IfcDistributionElementType>(const DB& db, const LIST& params, IfcDistributionElementType* in)
  1217. {
  1218. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1219. // this data structure is not used yet, so there is no code generated to fill its members
  1220. return base;
  1221. }
  1222. // -----------------------------------------------------------------------------------------------------------
  1223. template <> size_t GenericFill<IfcDistributionFlowElementType>(const DB& db, const LIST& params, IfcDistributionFlowElementType* in)
  1224. {
  1225. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1226. // this data structure is not used yet, so there is no code generated to fill its members
  1227. return base;
  1228. }
  1229. // -----------------------------------------------------------------------------------------------------------
  1230. template <> size_t GenericFill<IfcEnergyConversionDeviceType>(const DB& db, const LIST& params, IfcEnergyConversionDeviceType* in)
  1231. {
  1232. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1233. // this data structure is not used yet, so there is no code generated to fill its members
  1234. return base;
  1235. }
  1236. // -----------------------------------------------------------------------------------------------------------
  1237. template <> size_t GenericFill<IfcCooledBeamType>(const DB& db, const LIST& params, IfcCooledBeamType* in)
  1238. {
  1239. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1240. // this data structure is not used yet, so there is no code generated to fill its members
  1241. return base;
  1242. }
  1243. // -----------------------------------------------------------------------------------------------------------
  1244. template <> size_t GenericFill<IfcCsgPrimitive3D>(const DB& db, const LIST& params, IfcCsgPrimitive3D* in)
  1245. {
  1246. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1247. // this data structure is not used yet, so there is no code generated to fill its members
  1248. return base;
  1249. }
  1250. // -----------------------------------------------------------------------------------------------------------
  1251. template <> size_t GenericFill<IfcRectangularPyramid>(const DB& db, const LIST& params, IfcRectangularPyramid* in)
  1252. {
  1253. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1254. // this data structure is not used yet, so there is no code generated to fill its members
  1255. return base;
  1256. }
  1257. // -----------------------------------------------------------------------------------------------------------
  1258. template <> size_t GenericFill<IfcSurface>(const DB& db, const LIST& params, IfcSurface* in)
  1259. {
  1260. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1261. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcSurface"); } return base;
  1262. }
  1263. // -----------------------------------------------------------------------------------------------------------
  1264. template <> size_t GenericFill<IfcBoundedSurface>(const DB& db, const LIST& params, IfcBoundedSurface* in)
  1265. {
  1266. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1267. // this data structure is not used yet, so there is no code generated to fill its members
  1268. return base;
  1269. }
  1270. // -----------------------------------------------------------------------------------------------------------
  1271. template <> size_t GenericFill<IfcRectangularTrimmedSurface>(const DB& db, const LIST& params, IfcRectangularTrimmedSurface* in)
  1272. {
  1273. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  1274. // this data structure is not used yet, so there is no code generated to fill its members
  1275. return base;
  1276. }
  1277. // -----------------------------------------------------------------------------------------------------------
  1278. template <> size_t GenericFill<IfcGroup>(const DB& db, const LIST& params, IfcGroup* in)
  1279. {
  1280. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1281. // this data structure is not used yet, so there is no code generated to fill its members
  1282. return base;
  1283. }
  1284. // -----------------------------------------------------------------------------------------------------------
  1285. template <> size_t GenericFill<IfcRelationship>(const DB& db, const LIST& params, IfcRelationship* in)
  1286. {
  1287. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1288. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelationship"); } return base;
  1289. }
  1290. // -----------------------------------------------------------------------------------------------------------
  1291. template <> size_t GenericFill<IfcHalfSpaceSolid>(const DB& db, const LIST& params, IfcHalfSpaceSolid* in)
  1292. {
  1293. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1294. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcHalfSpaceSolid"); } do { // convert the 'BaseSurface' argument
  1295. const DataType* arg = params[base++];
  1296. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[0]=true; break; }
  1297. try { GenericConvert( in->BaseSurface, *arg, db ); break; }
  1298. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcHalfSpaceSolid to be a `IfcSurface`")); }
  1299. } while(0);
  1300. do { // convert the 'AgreementFlag' argument
  1301. const DataType* arg = params[base++];
  1302. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[1]=true; break; }
  1303. try { GenericConvert( in->AgreementFlag, *arg, db ); break; }
  1304. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcHalfSpaceSolid to be a `BOOLEAN`")); }
  1305. } while(0);
  1306. return base;
  1307. }
  1308. // -----------------------------------------------------------------------------------------------------------
  1309. template <> size_t GenericFill<IfcPolygonalBoundedHalfSpace>(const DB& db, const LIST& params, IfcPolygonalBoundedHalfSpace* in)
  1310. {
  1311. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  1312. // this data structure is not used yet, so there is no code generated to fill its members
  1313. return base;
  1314. }
  1315. // -----------------------------------------------------------------------------------------------------------
  1316. template <> size_t GenericFill<IfcAirToAirHeatRecoveryType>(const DB& db, const LIST& params, IfcAirToAirHeatRecoveryType* in)
  1317. {
  1318. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1319. // this data structure is not used yet, so there is no code generated to fill its members
  1320. return base;
  1321. }
  1322. // -----------------------------------------------------------------------------------------------------------
  1323. template <> size_t GenericFill<IfcFlowFittingType>(const DB& db, const LIST& params, IfcFlowFittingType* in)
  1324. {
  1325. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1326. // this data structure is not used yet, so there is no code generated to fill its members
  1327. return base;
  1328. }
  1329. // -----------------------------------------------------------------------------------------------------------
  1330. template <> size_t GenericFill<IfcPipeFittingType>(const DB& db, const LIST& params, IfcPipeFittingType* in)
  1331. {
  1332. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  1333. // this data structure is not used yet, so there is no code generated to fill its members
  1334. return base;
  1335. }
  1336. // -----------------------------------------------------------------------------------------------------------
  1337. template <> size_t GenericFill<IfcRepresentation>(const DB& db, const LIST& params, IfcRepresentation* in)
  1338. {
  1339. size_t base = 0;
  1340. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRepresentation"); } do { // convert the 'ContextOfItems' argument
  1341. const DataType* arg = params[base++];
  1342. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[0]=true; break; }
  1343. try { GenericConvert( in->ContextOfItems, *arg, db ); break; }
  1344. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentation to be a `IfcRepresentationContext`")); }
  1345. } while(0);
  1346. do { // convert the 'RepresentationIdentifier' argument
  1347. const DataType* arg = params[base++];
  1348. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[1]=true; break; }
  1349. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1350. try { GenericConvert( in->RepresentationIdentifier, *arg, db ); break; }
  1351. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentation to be a `IfcLabel`")); }
  1352. } while(0);
  1353. do { // convert the 'RepresentationType' argument
  1354. const DataType* arg = params[base++];
  1355. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[2]=true; break; }
  1356. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1357. try { GenericConvert( in->RepresentationType, *arg, db ); break; }
  1358. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRepresentation to be a `IfcLabel`")); }
  1359. } while(0);
  1360. do { // convert the 'Items' argument
  1361. const DataType* arg = params[base++];
  1362. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[3]=true; break; }
  1363. try { GenericConvert( in->Items, *arg, db ); break; }
  1364. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRepresentation to be a `SET [1:?] OF IfcRepresentationItem`")); }
  1365. } while(0);
  1366. return base;
  1367. }
  1368. // -----------------------------------------------------------------------------------------------------------
  1369. template <> size_t GenericFill<IfcStyleModel>(const DB& db, const LIST& params, IfcStyleModel* in)
  1370. {
  1371. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  1372. // this data structure is not used yet, so there is no code generated to fill its members
  1373. return base;
  1374. }
  1375. // -----------------------------------------------------------------------------------------------------------
  1376. template <> size_t GenericFill<IfcStyledRepresentation>(const DB& db, const LIST& params, IfcStyledRepresentation* in)
  1377. {
  1378. size_t base = GenericFill(db,params,static_cast<IfcStyleModel*>(in));
  1379. // this data structure is not used yet, so there is no code generated to fill its members
  1380. return base;
  1381. }
  1382. // -----------------------------------------------------------------------------------------------------------
  1383. template <> size_t GenericFill<IfcBooleanResult>(const DB& db, const LIST& params, IfcBooleanResult* in)
  1384. {
  1385. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1386. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanResult"); } do { // convert the 'Operator' argument
  1387. const DataType* arg = params[base++];
  1388. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[0]=true; break; }
  1389. try { GenericConvert( in->Operator, *arg, db ); break; }
  1390. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBooleanResult to be a `IfcBooleanOperator`")); }
  1391. } while(0);
  1392. do { // convert the 'FirstOperand' argument
  1393. const DataType* arg = params[base++];
  1394. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[1]=true; break; }
  1395. try { GenericConvert( in->FirstOperand, *arg, db ); break; }
  1396. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1397. } while(0);
  1398. do { // convert the 'SecondOperand' argument
  1399. const DataType* arg = params[base++];
  1400. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[2]=true; break; }
  1401. try { GenericConvert( in->SecondOperand, *arg, db ); break; }
  1402. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1403. } while(0);
  1404. return base;
  1405. }
  1406. // -----------------------------------------------------------------------------------------------------------
  1407. template <> size_t GenericFill<IfcFeatureElement>(const DB& db, const LIST& params, IfcFeatureElement* in)
  1408. {
  1409. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1410. // this data structure is not used yet, so there is no code generated to fill its members
  1411. return base;
  1412. }
  1413. // -----------------------------------------------------------------------------------------------------------
  1414. template <> size_t GenericFill<IfcFeatureElementSubtraction>(const DB& db, const LIST& params, IfcFeatureElementSubtraction* in)
  1415. {
  1416. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1417. // this data structure is not used yet, so there is no code generated to fill its members
  1418. return base;
  1419. }
  1420. // -----------------------------------------------------------------------------------------------------------
  1421. template <> size_t GenericFill<IfcOpeningElement>(const DB& db, const LIST& params, IfcOpeningElement* in)
  1422. {
  1423. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  1424. // this data structure is not used yet, so there is no code generated to fill its members
  1425. return base;
  1426. }
  1427. // -----------------------------------------------------------------------------------------------------------
  1428. template <> size_t GenericFill<IfcConditionCriterion>(const DB& db, const LIST& params, IfcConditionCriterion* in)
  1429. {
  1430. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1431. // this data structure is not used yet, so there is no code generated to fill its members
  1432. return base;
  1433. }
  1434. // -----------------------------------------------------------------------------------------------------------
  1435. template <> size_t GenericFill<IfcFlowTerminalType>(const DB& db, const LIST& params, IfcFlowTerminalType* in)
  1436. {
  1437. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1438. // this data structure is not used yet, so there is no code generated to fill its members
  1439. return base;
  1440. }
  1441. // -----------------------------------------------------------------------------------------------------------
  1442. template <> size_t GenericFill<IfcFlowControllerType>(const DB& db, const LIST& params, IfcFlowControllerType* in)
  1443. {
  1444. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1445. // this data structure is not used yet, so there is no code generated to fill its members
  1446. return base;
  1447. }
  1448. // -----------------------------------------------------------------------------------------------------------
  1449. template <> size_t GenericFill<IfcSwitchingDeviceType>(const DB& db, const LIST& params, IfcSwitchingDeviceType* in)
  1450. {
  1451. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  1452. // this data structure is not used yet, so there is no code generated to fill its members
  1453. return base;
  1454. }
  1455. // -----------------------------------------------------------------------------------------------------------
  1456. template <> size_t GenericFill<IfcSystem>(const DB& db, const LIST& params, IfcSystem* in)
  1457. {
  1458. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  1459. // this data structure is not used yet, so there is no code generated to fill its members
  1460. return base;
  1461. }
  1462. // -----------------------------------------------------------------------------------------------------------
  1463. template <> size_t GenericFill<IfcElectricalCircuit>(const DB& db, const LIST& params, IfcElectricalCircuit* in)
  1464. {
  1465. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  1466. // this data structure is not used yet, so there is no code generated to fill its members
  1467. return base;
  1468. }
  1469. // -----------------------------------------------------------------------------------------------------------
  1470. template <> size_t GenericFill<IfcUnitaryEquipmentType>(const DB& db, const LIST& params, IfcUnitaryEquipmentType* in)
  1471. {
  1472. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1473. // this data structure is not used yet, so there is no code generated to fill its members
  1474. return base;
  1475. }
  1476. // -----------------------------------------------------------------------------------------------------------
  1477. template <> size_t GenericFill<IfcPort>(const DB& db, const LIST& params, IfcPort* in)
  1478. {
  1479. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1480. // this data structure is not used yet, so there is no code generated to fill its members
  1481. return base;
  1482. }
  1483. // -----------------------------------------------------------------------------------------------------------
  1484. template <> size_t GenericFill<IfcPlacement>(const DB& db, const LIST& params, IfcPlacement* in)
  1485. {
  1486. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1487. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlacement"); } do { // convert the 'Location' argument
  1488. const DataType* arg = params[base++];
  1489. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPlacement,1>::aux_is_derived[0]=true; break; }
  1490. try { GenericConvert( in->Location, *arg, db ); break; }
  1491. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPlacement to be a `IfcCartesianPoint`")); }
  1492. } while(0);
  1493. return base;
  1494. }
  1495. // -----------------------------------------------------------------------------------------------------------
  1496. template <> size_t GenericFill<IfcProfileDef>(const DB& db, const LIST& params, IfcProfileDef* in)
  1497. {
  1498. size_t base = 0;
  1499. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProfileDef"); } do { // convert the 'ProfileType' argument
  1500. const DataType* arg = params[base++];
  1501. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[0]=true; break; }
  1502. try { GenericConvert( in->ProfileType, *arg, db ); break; }
  1503. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProfileDef to be a `IfcProfileTypeEnum`")); }
  1504. } while(0);
  1505. do { // convert the 'ProfileName' argument
  1506. const DataType* arg = params[base++];
  1507. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[1]=true; break; }
  1508. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1509. try { GenericConvert( in->ProfileName, *arg, db ); break; }
  1510. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProfileDef to be a `IfcLabel`")); }
  1511. } while(0);
  1512. return base;
  1513. }
  1514. // -----------------------------------------------------------------------------------------------------------
  1515. template <> size_t GenericFill<IfcArbitraryClosedProfileDef>(const DB& db, const LIST& params, IfcArbitraryClosedProfileDef* in)
  1516. {
  1517. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1518. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryClosedProfileDef"); } do { // convert the 'OuterCurve' argument
  1519. const DataType* arg = params[base++];
  1520. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryClosedProfileDef,1>::aux_is_derived[0]=true; break; }
  1521. try { GenericConvert( in->OuterCurve, *arg, db ); break; }
  1522. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryClosedProfileDef to be a `IfcCurve`")); }
  1523. } while(0);
  1524. return base;
  1525. }
  1526. // -----------------------------------------------------------------------------------------------------------
  1527. template <> size_t GenericFill<IfcCurve>(const DB& db, const LIST& params, IfcCurve* in)
  1528. {
  1529. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1530. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcCurve"); } return base;
  1531. }
  1532. // -----------------------------------------------------------------------------------------------------------
  1533. template <> size_t GenericFill<IfcConic>(const DB& db, const LIST& params, IfcConic* in)
  1534. {
  1535. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1536. // this data structure is not used yet, so there is no code generated to fill its members
  1537. return base;
  1538. }
  1539. // -----------------------------------------------------------------------------------------------------------
  1540. template <> size_t GenericFill<IfcCircle>(const DB& db, const LIST& params, IfcCircle* in)
  1541. {
  1542. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  1543. // this data structure is not used yet, so there is no code generated to fill its members
  1544. return base;
  1545. }
  1546. // -----------------------------------------------------------------------------------------------------------
  1547. template <> size_t GenericFill<IfcElementarySurface>(const DB& db, const LIST& params, IfcElementarySurface* in)
  1548. {
  1549. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1550. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcElementarySurface"); } do { // convert the 'Position' argument
  1551. const DataType* arg = params[base++];
  1552. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElementarySurface,1>::aux_is_derived[0]=true; break; }
  1553. try { GenericConvert( in->Position, *arg, db ); break; }
  1554. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcElementarySurface to be a `IfcAxis2Placement3D`")); }
  1555. } while(0);
  1556. return base;
  1557. }
  1558. // -----------------------------------------------------------------------------------------------------------
  1559. template <> size_t GenericFill<IfcPlane>(const DB& db, const LIST& params, IfcPlane* in)
  1560. {
  1561. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  1562. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlane"); } return base;
  1563. }
  1564. // -----------------------------------------------------------------------------------------------------------
  1565. template <> size_t GenericFill<IfcCostSchedule>(const DB& db, const LIST& params, IfcCostSchedule* in)
  1566. {
  1567. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1568. // this data structure is not used yet, so there is no code generated to fill its members
  1569. return base;
  1570. }
  1571. // -----------------------------------------------------------------------------------------------------------
  1572. template <> size_t GenericFill<IfcRightCircularCone>(const DB& db, const LIST& params, IfcRightCircularCone* in)
  1573. {
  1574. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1575. // this data structure is not used yet, so there is no code generated to fill its members
  1576. return base;
  1577. }
  1578. // -----------------------------------------------------------------------------------------------------------
  1579. template <> size_t GenericFill<IfcElementAssembly>(const DB& db, const LIST& params, IfcElementAssembly* in)
  1580. {
  1581. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1582. // this data structure is not used yet, so there is no code generated to fill its members
  1583. return base;
  1584. }
  1585. // -----------------------------------------------------------------------------------------------------------
  1586. template <> size_t GenericFill<IfcBuildingElement>(const DB& db, const LIST& params, IfcBuildingElement* in)
  1587. {
  1588. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1589. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcBuildingElement"); } return base;
  1590. }
  1591. // -----------------------------------------------------------------------------------------------------------
  1592. template <> size_t GenericFill<IfcMember>(const DB& db, const LIST& params, IfcMember* in)
  1593. {
  1594. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1595. // this data structure is not used yet, so there is no code generated to fill its members
  1596. return base;
  1597. }
  1598. // -----------------------------------------------------------------------------------------------------------
  1599. template <> size_t GenericFill<IfcBuildingElementProxy>(const DB& db, const LIST& params, IfcBuildingElementProxy* in)
  1600. {
  1601. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1602. // this data structure is not used yet, so there is no code generated to fill its members
  1603. return base;
  1604. }
  1605. // -----------------------------------------------------------------------------------------------------------
  1606. template <> size_t GenericFill<IfcStructuralActivity>(const DB& db, const LIST& params, IfcStructuralActivity* in)
  1607. {
  1608. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1609. // this data structure is not used yet, so there is no code generated to fill its members
  1610. return base;
  1611. }
  1612. // -----------------------------------------------------------------------------------------------------------
  1613. template <> size_t GenericFill<IfcStructuralAction>(const DB& db, const LIST& params, IfcStructuralAction* in)
  1614. {
  1615. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  1616. // this data structure is not used yet, so there is no code generated to fill its members
  1617. return base;
  1618. }
  1619. // -----------------------------------------------------------------------------------------------------------
  1620. template <> size_t GenericFill<IfcStructuralPlanarAction>(const DB& db, const LIST& params, IfcStructuralPlanarAction* in)
  1621. {
  1622. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  1623. // this data structure is not used yet, so there is no code generated to fill its members
  1624. return base;
  1625. }
  1626. // -----------------------------------------------------------------------------------------------------------
  1627. template <> size_t GenericFill<IfcTopologicalRepresentationItem>(const DB& db, const LIST& params, IfcTopologicalRepresentationItem* in)
  1628. {
  1629. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1630. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcTopologicalRepresentationItem"); } return base;
  1631. }
  1632. // -----------------------------------------------------------------------------------------------------------
  1633. template <> size_t GenericFill<IfcConnectedFaceSet>(const DB& db, const LIST& params, IfcConnectedFaceSet* in)
  1634. {
  1635. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1636. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConnectedFaceSet"); } do { // convert the 'CfsFaces' argument
  1637. const DataType* arg = params[base++];
  1638. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConnectedFaceSet,1>::aux_is_derived[0]=true; break; }
  1639. try { GenericConvert( in->CfsFaces, *arg, db ); break; }
  1640. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConnectedFaceSet to be a `SET [1:?] OF IfcFace`")); }
  1641. } while(0);
  1642. return base;
  1643. }
  1644. // -----------------------------------------------------------------------------------------------------------
  1645. template <> size_t GenericFill<IfcSweptSurface>(const DB& db, const LIST& params, IfcSweptSurface* in)
  1646. {
  1647. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1648. // this data structure is not used yet, so there is no code generated to fill its members
  1649. return base;
  1650. }
  1651. // -----------------------------------------------------------------------------------------------------------
  1652. template <> size_t GenericFill<IfcSurfaceOfLinearExtrusion>(const DB& db, const LIST& params, IfcSurfaceOfLinearExtrusion* in)
  1653. {
  1654. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  1655. // this data structure is not used yet, so there is no code generated to fill its members
  1656. return base;
  1657. }
  1658. // -----------------------------------------------------------------------------------------------------------
  1659. template <> size_t GenericFill<IfcArbitraryProfileDefWithVoids>(const DB& db, const LIST& params, IfcArbitraryProfileDefWithVoids* in)
  1660. {
  1661. size_t base = GenericFill(db,params,static_cast<IfcArbitraryClosedProfileDef*>(in));
  1662. // this data structure is not used yet, so there is no code generated to fill its members
  1663. return base;
  1664. }
  1665. // -----------------------------------------------------------------------------------------------------------
  1666. template <> size_t GenericFill<IfcProcess>(const DB& db, const LIST& params, IfcProcess* in)
  1667. {
  1668. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1669. // this data structure is not used yet, so there is no code generated to fill its members
  1670. return base;
  1671. }
  1672. // -----------------------------------------------------------------------------------------------------------
  1673. template <> size_t GenericFill<IfcProcedure>(const DB& db, const LIST& params, IfcProcedure* in)
  1674. {
  1675. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  1676. // this data structure is not used yet, so there is no code generated to fill its members
  1677. return base;
  1678. }
  1679. // -----------------------------------------------------------------------------------------------------------
  1680. template <> size_t GenericFill<IfcVector>(const DB& db, const LIST& params, IfcVector* in)
  1681. {
  1682. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1683. // this data structure is not used yet, so there is no code generated to fill its members
  1684. return base;
  1685. }
  1686. // -----------------------------------------------------------------------------------------------------------
  1687. template <> size_t GenericFill<IfcFaceBound>(const DB& db, const LIST& params, IfcFaceBound* in)
  1688. {
  1689. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1690. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceBound"); } do { // convert the 'Bound' argument
  1691. const DataType* arg = params[base++];
  1692. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[0]=true; break; }
  1693. try { GenericConvert( in->Bound, *arg, db ); break; }
  1694. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBound to be a `IfcLoop`")); }
  1695. } while(0);
  1696. do { // convert the 'Orientation' argument
  1697. const DataType* arg = params[base++];
  1698. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[1]=true; break; }
  1699. try { GenericConvert( in->Orientation, *arg, db ); break; }
  1700. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcFaceBound to be a `BOOLEAN`")); }
  1701. } while(0);
  1702. return base;
  1703. }
  1704. // -----------------------------------------------------------------------------------------------------------
  1705. template <> size_t GenericFill<IfcFaceOuterBound>(const DB& db, const LIST& params, IfcFaceOuterBound* in)
  1706. {
  1707. size_t base = GenericFill(db,params,static_cast<IfcFaceBound*>(in));
  1708. // this data structure is not used yet, so there is no code generated to fill its members
  1709. return base;
  1710. }
  1711. // -----------------------------------------------------------------------------------------------------------
  1712. template <> size_t GenericFill<IfcFeatureElementAddition>(const DB& db, const LIST& params, IfcFeatureElementAddition* in)
  1713. {
  1714. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1715. // this data structure is not used yet, so there is no code generated to fill its members
  1716. return base;
  1717. }
  1718. // -----------------------------------------------------------------------------------------------------------
  1719. template <> size_t GenericFill<IfcNamedUnit>(const DB& db, const LIST& params, IfcNamedUnit* in)
  1720. {
  1721. size_t base = 0;
  1722. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcNamedUnit"); } do { // convert the 'Dimensions' argument
  1723. const DataType* arg = params[base++];
  1724. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[0]=true; break; }
  1725. try { GenericConvert( in->Dimensions, *arg, db ); break; }
  1726. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcNamedUnit to be a `IfcDimensionalExponents`")); }
  1727. } while(0);
  1728. do { // convert the 'UnitType' argument
  1729. const DataType* arg = params[base++];
  1730. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[1]=true; break; }
  1731. try { GenericConvert( in->UnitType, *arg, db ); break; }
  1732. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcNamedUnit to be a `IfcUnitEnum`")); }
  1733. } while(0);
  1734. return base;
  1735. }
  1736. // -----------------------------------------------------------------------------------------------------------
  1737. template <> size_t GenericFill<IfcConversionBasedUnit>(const DB& db, const LIST& params, IfcConversionBasedUnit* in)
  1738. {
  1739. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  1740. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcConversionBasedUnit"); } do { // convert the 'Name' argument
  1741. const DataType* arg = params[base++];
  1742. try { GenericConvert( in->Name, *arg, db ); break; }
  1743. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcConversionBasedUnit to be a `IfcLabel`")); }
  1744. } while(0);
  1745. do { // convert the 'ConversionFactor' argument
  1746. const DataType* arg = params[base++];
  1747. try { GenericConvert( in->ConversionFactor, *arg, db ); break; }
  1748. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcConversionBasedUnit to be a `IfcMeasureWithUnit`")); }
  1749. } while(0);
  1750. return base;
  1751. }
  1752. // -----------------------------------------------------------------------------------------------------------
  1753. template <> size_t GenericFill<IfcHeatExchangerType>(const DB& db, const LIST& params, IfcHeatExchangerType* in)
  1754. {
  1755. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1756. // this data structure is not used yet, so there is no code generated to fill its members
  1757. return base;
  1758. }
  1759. // -----------------------------------------------------------------------------------------------------------
  1760. template <> size_t GenericFill<IfcPresentationStyleAssignment>(const DB& db, const LIST& params, IfcPresentationStyleAssignment* in)
  1761. {
  1762. size_t base = 0;
  1763. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyleAssignment"); } do { // convert the 'Styles' argument
  1764. const DataType* arg = params[base++];
  1765. try { GenericConvert( in->Styles, *arg, db ); break; }
  1766. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyleAssignment to be a `SET [1:?] OF IfcPresentationStyleSelect`")); }
  1767. } while(0);
  1768. return base;
  1769. }
  1770. // -----------------------------------------------------------------------------------------------------------
  1771. template <> size_t GenericFill<IfcFlowTreatmentDeviceType>(const DB& db, const LIST& params, IfcFlowTreatmentDeviceType* in)
  1772. {
  1773. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1774. // this data structure is not used yet, so there is no code generated to fill its members
  1775. return base;
  1776. }
  1777. // -----------------------------------------------------------------------------------------------------------
  1778. template <> size_t GenericFill<IfcFilterType>(const DB& db, const LIST& params, IfcFilterType* in)
  1779. {
  1780. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  1781. // this data structure is not used yet, so there is no code generated to fill its members
  1782. return base;
  1783. }
  1784. // -----------------------------------------------------------------------------------------------------------
  1785. template <> size_t GenericFill<IfcResource>(const DB& db, const LIST& params, IfcResource* in)
  1786. {
  1787. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1788. // this data structure is not used yet, so there is no code generated to fill its members
  1789. return base;
  1790. }
  1791. // -----------------------------------------------------------------------------------------------------------
  1792. template <> size_t GenericFill<IfcEvaporativeCoolerType>(const DB& db, const LIST& params, IfcEvaporativeCoolerType* in)
  1793. {
  1794. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1795. // this data structure is not used yet, so there is no code generated to fill its members
  1796. return base;
  1797. }
  1798. // -----------------------------------------------------------------------------------------------------------
  1799. template <> size_t GenericFill<IfcOffsetCurve2D>(const DB& db, const LIST& params, IfcOffsetCurve2D* in)
  1800. {
  1801. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1802. // this data structure is not used yet, so there is no code generated to fill its members
  1803. return base;
  1804. }
  1805. // -----------------------------------------------------------------------------------------------------------
  1806. template <> size_t GenericFill<IfcEdge>(const DB& db, const LIST& params, IfcEdge* in)
  1807. {
  1808. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1809. // this data structure is not used yet, so there is no code generated to fill its members
  1810. return base;
  1811. }
  1812. // -----------------------------------------------------------------------------------------------------------
  1813. template <> size_t GenericFill<IfcSubedge>(const DB& db, const LIST& params, IfcSubedge* in)
  1814. {
  1815. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  1816. // this data structure is not used yet, so there is no code generated to fill its members
  1817. return base;
  1818. }
  1819. // -----------------------------------------------------------------------------------------------------------
  1820. template <> size_t GenericFill<IfcProxy>(const DB& db, const LIST& params, IfcProxy* in)
  1821. {
  1822. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1823. // this data structure is not used yet, so there is no code generated to fill its members
  1824. return base;
  1825. }
  1826. // -----------------------------------------------------------------------------------------------------------
  1827. template <> size_t GenericFill<IfcLine>(const DB& db, const LIST& params, IfcLine* in)
  1828. {
  1829. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1830. // this data structure is not used yet, so there is no code generated to fill its members
  1831. return base;
  1832. }
  1833. // -----------------------------------------------------------------------------------------------------------
  1834. template <> size_t GenericFill<IfcColumn>(const DB& db, const LIST& params, IfcColumn* in)
  1835. {
  1836. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1837. // this data structure is not used yet, so there is no code generated to fill its members
  1838. return base;
  1839. }
  1840. // -----------------------------------------------------------------------------------------------------------
  1841. template <> size_t GenericFill<IfcObjectPlacement>(const DB& db, const LIST& params, IfcObjectPlacement* in)
  1842. {
  1843. size_t base = 0;
  1844. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcObjectPlacement"); } return base;
  1845. }
  1846. // -----------------------------------------------------------------------------------------------------------
  1847. template <> size_t GenericFill<IfcGridPlacement>(const DB& db, const LIST& params, IfcGridPlacement* in)
  1848. {
  1849. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  1850. // this data structure is not used yet, so there is no code generated to fill its members
  1851. return base;
  1852. }
  1853. // -----------------------------------------------------------------------------------------------------------
  1854. template <> size_t GenericFill<IfcDistributionControlElementType>(const DB& db, const LIST& params, IfcDistributionControlElementType* in)
  1855. {
  1856. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1857. // this data structure is not used yet, so there is no code generated to fill its members
  1858. return base;
  1859. }
  1860. // -----------------------------------------------------------------------------------------------------------
  1861. template <> size_t GenericFill<IfcRelConnects>(const DB& db, const LIST& params, IfcRelConnects* in)
  1862. {
  1863. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  1864. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelConnects"); } return base;
  1865. }
  1866. // -----------------------------------------------------------------------------------------------------------
  1867. template <> size_t GenericFill<IfcAnnotation>(const DB& db, const LIST& params, IfcAnnotation* in)
  1868. {
  1869. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1870. // this data structure is not used yet, so there is no code generated to fill its members
  1871. return base;
  1872. }
  1873. // -----------------------------------------------------------------------------------------------------------
  1874. template <> size_t GenericFill<IfcPlate>(const DB& db, const LIST& params, IfcPlate* in)
  1875. {
  1876. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1877. // this data structure is not used yet, so there is no code generated to fill its members
  1878. return base;
  1879. }
  1880. // -----------------------------------------------------------------------------------------------------------
  1881. template <> size_t GenericFill<IfcSolidModel>(const DB& db, const LIST& params, IfcSolidModel* in)
  1882. {
  1883. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1884. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcSolidModel"); } return base;
  1885. }
  1886. // -----------------------------------------------------------------------------------------------------------
  1887. template <> size_t GenericFill<IfcManifoldSolidBrep>(const DB& db, const LIST& params, IfcManifoldSolidBrep* in)
  1888. {
  1889. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  1890. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcManifoldSolidBrep"); } do { // convert the 'Outer' argument
  1891. const DataType* arg = params[base++];
  1892. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcManifoldSolidBrep,1>::aux_is_derived[0]=true; break; }
  1893. try { GenericConvert( in->Outer, *arg, db ); break; }
  1894. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcManifoldSolidBrep to be a `IfcClosedShell`")); }
  1895. } while(0);
  1896. return base;
  1897. }
  1898. // -----------------------------------------------------------------------------------------------------------
  1899. template <> size_t GenericFill<IfcFlowStorageDeviceType>(const DB& db, const LIST& params, IfcFlowStorageDeviceType* in)
  1900. {
  1901. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(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<IfcStructuralItem>(const DB& db, const LIST& params, IfcStructuralItem* in)
  1907. {
  1908. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1909. // this data structure is not used yet, so there is no code generated to fill its members
  1910. return base;
  1911. }
  1912. // -----------------------------------------------------------------------------------------------------------
  1913. template <> size_t GenericFill<IfcStructuralMember>(const DB& db, const LIST& params, IfcStructuralMember* in)
  1914. {
  1915. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  1916. // this data structure is not used yet, so there is no code generated to fill its members
  1917. return base;
  1918. }
  1919. // -----------------------------------------------------------------------------------------------------------
  1920. template <> size_t GenericFill<IfcStructuralCurveMember>(const DB& db, const LIST& params, IfcStructuralCurveMember* in)
  1921. {
  1922. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  1923. // this data structure is not used yet, so there is no code generated to fill its members
  1924. return base;
  1925. }
  1926. // -----------------------------------------------------------------------------------------------------------
  1927. template <> size_t GenericFill<IfcStructuralConnection>(const DB& db, const LIST& params, IfcStructuralConnection* in)
  1928. {
  1929. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  1930. // this data structure is not used yet, so there is no code generated to fill its members
  1931. return base;
  1932. }
  1933. // -----------------------------------------------------------------------------------------------------------
  1934. template <> size_t GenericFill<IfcStructuralSurfaceConnection>(const DB& db, const LIST& params, IfcStructuralSurfaceConnection* in)
  1935. {
  1936. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  1937. // this data structure is not used yet, so there is no code generated to fill its members
  1938. return base;
  1939. }
  1940. // -----------------------------------------------------------------------------------------------------------
  1941. template <> size_t GenericFill<IfcCoilType>(const DB& db, const LIST& params, IfcCoilType* in)
  1942. {
  1943. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1944. // this data structure is not used yet, so there is no code generated to fill its members
  1945. return base;
  1946. }
  1947. // -----------------------------------------------------------------------------------------------------------
  1948. template <> size_t GenericFill<IfcDuctFittingType>(const DB& db, const LIST& params, IfcDuctFittingType* in)
  1949. {
  1950. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  1951. // this data structure is not used yet, so there is no code generated to fill its members
  1952. return base;
  1953. }
  1954. // -----------------------------------------------------------------------------------------------------------
  1955. template <> size_t GenericFill<IfcStyledItem>(const DB& db, const LIST& params, IfcStyledItem* in)
  1956. {
  1957. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1958. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcStyledItem"); } do { // convert the 'Item' argument
  1959. const DataType* arg = params[base++];
  1960. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[0]=true; break; }
  1961. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1962. try { GenericConvert( in->Item, *arg, db ); break; }
  1963. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcStyledItem to be a `IfcRepresentationItem`")); }
  1964. } while(0);
  1965. do { // convert the 'Styles' argument
  1966. const DataType* arg = params[base++];
  1967. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[1]=true; break; }
  1968. try { GenericConvert( in->Styles, *arg, db ); break; }
  1969. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcStyledItem to be a `SET [1:?] OF IfcPresentationStyleAssignment`")); }
  1970. } while(0);
  1971. do { // convert the 'Name' argument
  1972. const DataType* arg = params[base++];
  1973. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[2]=true; break; }
  1974. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1975. try { GenericConvert( in->Name, *arg, db ); break; }
  1976. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcStyledItem to be a `IfcLabel`")); }
  1977. } while(0);
  1978. return base;
  1979. }
  1980. // -----------------------------------------------------------------------------------------------------------
  1981. template <> size_t GenericFill<IfcAnnotationOccurrence>(const DB& db, const LIST& params, IfcAnnotationOccurrence* in)
  1982. {
  1983. size_t base = GenericFill(db,params,static_cast<IfcStyledItem*>(in));
  1984. // this data structure is not used yet, so there is no code generated to fill its members
  1985. return base;
  1986. }
  1987. // -----------------------------------------------------------------------------------------------------------
  1988. template <> size_t GenericFill<IfcAnnotationCurveOccurrence>(const DB& db, const LIST& params, IfcAnnotationCurveOccurrence* in)
  1989. {
  1990. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  1991. // this data structure is not used yet, so there is no code generated to fill its members
  1992. return base;
  1993. }
  1994. // -----------------------------------------------------------------------------------------------------------
  1995. template <> size_t GenericFill<IfcDimensionCurve>(const DB& db, const LIST& params, IfcDimensionCurve* in)
  1996. {
  1997. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  1998. // this data structure is not used yet, so there is no code generated to fill its members
  1999. return base;
  2000. }
  2001. // -----------------------------------------------------------------------------------------------------------
  2002. template <> size_t GenericFill<IfcBoundedCurve>(const DB& db, const LIST& params, IfcBoundedCurve* in)
  2003. {
  2004. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2005. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcBoundedCurve"); } return base;
  2006. }
  2007. // -----------------------------------------------------------------------------------------------------------
  2008. template <> size_t GenericFill<IfcAxis1Placement>(const DB& db, const LIST& params, IfcAxis1Placement* in)
  2009. {
  2010. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  2011. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis1Placement"); } do { // convert the 'Axis' argument
  2012. const DataType* arg = params[base++];
  2013. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2014. try { GenericConvert( in->Axis, *arg, db ); break; }
  2015. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis1Placement to be a `IfcDirection`")); }
  2016. } while(0);
  2017. return base;
  2018. }
  2019. // -----------------------------------------------------------------------------------------------------------
  2020. template <> size_t GenericFill<IfcStructuralPointAction>(const DB& db, const LIST& params, IfcStructuralPointAction* in)
  2021. {
  2022. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  2023. // this data structure is not used yet, so there is no code generated to fill its members
  2024. return base;
  2025. }
  2026. // -----------------------------------------------------------------------------------------------------------
  2027. template <> size_t GenericFill<IfcSpatialStructureElement>(const DB& db, const LIST& params, IfcSpatialStructureElement* in)
  2028. {
  2029. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  2030. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSpatialStructureElement"); } do { // convert the 'LongName' argument
  2031. const DataType* arg = params[base++];
  2032. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[0]=true; break; }
  2033. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2034. try { GenericConvert( in->LongName, *arg, db ); break; }
  2035. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSpatialStructureElement to be a `IfcLabel`")); }
  2036. } while(0);
  2037. do { // convert the 'CompositionType' argument
  2038. const DataType* arg = params[base++];
  2039. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[1]=true; break; }
  2040. try { GenericConvert( in->CompositionType, *arg, db ); break; }
  2041. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSpatialStructureElement to be a `IfcElementCompositionEnum`")); }
  2042. } while(0);
  2043. return base;
  2044. }
  2045. // -----------------------------------------------------------------------------------------------------------
  2046. template <> size_t GenericFill<IfcSpace>(const DB& db, const LIST& params, IfcSpace* in)
  2047. {
  2048. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2049. if (params.GetSize() < 11) { throw STEP::TypeError("expected 11 arguments to IfcSpace"); } do { // convert the 'InteriorOrExteriorSpace' argument
  2050. const DataType* arg = params[base++];
  2051. try { GenericConvert( in->InteriorOrExteriorSpace, *arg, db ); break; }
  2052. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSpace to be a `IfcInternalOrExternalEnum`")); }
  2053. } while(0);
  2054. do { // convert the 'ElevationWithFlooring' argument
  2055. const DataType* arg = params[base++];
  2056. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2057. try { GenericConvert( in->ElevationWithFlooring, *arg, db ); break; }
  2058. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSpace to be a `IfcLengthMeasure`")); }
  2059. } while(0);
  2060. return base;
  2061. }
  2062. // -----------------------------------------------------------------------------------------------------------
  2063. template <> size_t GenericFill<IfcCoolingTowerType>(const DB& db, const LIST& params, IfcCoolingTowerType* in)
  2064. {
  2065. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2066. // this data structure is not used yet, so there is no code generated to fill its members
  2067. return base;
  2068. }
  2069. // -----------------------------------------------------------------------------------------------------------
  2070. template <> size_t GenericFill<IfcFacetedBrepWithVoids>(const DB& db, const LIST& params, IfcFacetedBrepWithVoids* in)
  2071. {
  2072. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  2073. // this data structure is not used yet, so there is no code generated to fill its members
  2074. return base;
  2075. }
  2076. // -----------------------------------------------------------------------------------------------------------
  2077. template <> size_t GenericFill<IfcValveType>(const DB& db, const LIST& params, IfcValveType* in)
  2078. {
  2079. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2080. // this data structure is not used yet, so there is no code generated to fill its members
  2081. return base;
  2082. }
  2083. // -----------------------------------------------------------------------------------------------------------
  2084. template <> size_t GenericFill<IfcSystemFurnitureElementType>(const DB& db, const LIST& params, IfcSystemFurnitureElementType* in)
  2085. {
  2086. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  2087. // this data structure is not used yet, so there is no code generated to fill its members
  2088. return base;
  2089. }
  2090. // -----------------------------------------------------------------------------------------------------------
  2091. template <> size_t GenericFill<IfcDiscreteAccessory>(const DB& db, const LIST& params, IfcDiscreteAccessory* in)
  2092. {
  2093. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2094. // this data structure is not used yet, so there is no code generated to fill its members
  2095. return base;
  2096. }
  2097. // -----------------------------------------------------------------------------------------------------------
  2098. template <> size_t GenericFill<IfcBuildingElementType>(const DB& db, const LIST& params, IfcBuildingElementType* in)
  2099. {
  2100. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2101. // this data structure is not used yet, so there is no code generated to fill its members
  2102. return base;
  2103. }
  2104. // -----------------------------------------------------------------------------------------------------------
  2105. template <> size_t GenericFill<IfcRailingType>(const DB& db, const LIST& params, IfcRailingType* in)
  2106. {
  2107. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2108. // this data structure is not used yet, so there is no code generated to fill its members
  2109. return base;
  2110. }
  2111. // -----------------------------------------------------------------------------------------------------------
  2112. template <> size_t GenericFill<IfcGasTerminalType>(const DB& db, const LIST& params, IfcGasTerminalType* in)
  2113. {
  2114. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2115. // this data structure is not used yet, so there is no code generated to fill its members
  2116. return base;
  2117. }
  2118. // -----------------------------------------------------------------------------------------------------------
  2119. template <> size_t GenericFill<IfcSpaceProgram>(const DB& db, const LIST& params, IfcSpaceProgram* in)
  2120. {
  2121. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2122. // this data structure is not used yet, so there is no code generated to fill its members
  2123. return base;
  2124. }
  2125. // -----------------------------------------------------------------------------------------------------------
  2126. template <> size_t GenericFill<IfcCovering>(const DB& db, const LIST& params, IfcCovering* in)
  2127. {
  2128. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2129. // this data structure is not used yet, so there is no code generated to fill its members
  2130. return base;
  2131. }
  2132. // -----------------------------------------------------------------------------------------------------------
  2133. template <> size_t GenericFill<IfcPresentationStyle>(const DB& db, const LIST& params, IfcPresentationStyle* in)
  2134. {
  2135. size_t base = 0;
  2136. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyle"); } do { // convert the 'Name' argument
  2137. const DataType* arg = params[base++];
  2138. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPresentationStyle,1>::aux_is_derived[0]=true; break; }
  2139. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2140. try { GenericConvert( in->Name, *arg, db ); break; }
  2141. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyle to be a `IfcLabel`")); }
  2142. } while(0);
  2143. return base;
  2144. }
  2145. // -----------------------------------------------------------------------------------------------------------
  2146. template <> size_t GenericFill<IfcElectricHeaterType>(const DB& db, const LIST& params, IfcElectricHeaterType* in)
  2147. {
  2148. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(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<IfcBuildingStorey>(const DB& db, const LIST& params, IfcBuildingStorey* in)
  2154. {
  2155. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(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<IfcVertex>(const DB& db, const LIST& params, IfcVertex* in)
  2161. {
  2162. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(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<IfcVertexPoint>(const DB& db, const LIST& params, IfcVertexPoint* in)
  2168. {
  2169. size_t base = GenericFill(db,params,static_cast<IfcVertex*>(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<IfcFlowInstrumentType>(const DB& db, const LIST& params, IfcFlowInstrumentType* in)
  2175. {
  2176. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(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<IfcParameterizedProfileDef>(const DB& db, const LIST& params, IfcParameterizedProfileDef* in)
  2182. {
  2183. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2184. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcParameterizedProfileDef"); } do { // convert the 'Position' argument
  2185. const DataType* arg = params[base++];
  2186. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcParameterizedProfileDef,1>::aux_is_derived[0]=true; break; }
  2187. try { GenericConvert( in->Position, *arg, db ); break; }
  2188. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcParameterizedProfileDef to be a `IfcAxis2Placement2D`")); }
  2189. } while(0);
  2190. return base;
  2191. }
  2192. // -----------------------------------------------------------------------------------------------------------
  2193. template <> size_t GenericFill<IfcUShapeProfileDef>(const DB& db, const LIST& params, IfcUShapeProfileDef* in)
  2194. {
  2195. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2196. // this data structure is not used yet, so there is no code generated to fill its members
  2197. return base;
  2198. }
  2199. // -----------------------------------------------------------------------------------------------------------
  2200. template <> size_t GenericFill<IfcRamp>(const DB& db, const LIST& params, IfcRamp* in)
  2201. {
  2202. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2203. // this data structure is not used yet, so there is no code generated to fill its members
  2204. return base;
  2205. }
  2206. // -----------------------------------------------------------------------------------------------------------
  2207. template <> size_t GenericFill<IfcCompositeCurve>(const DB& db, const LIST& params, IfcCompositeCurve* in)
  2208. {
  2209. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  2210. // this data structure is not used yet, so there is no code generated to fill its members
  2211. return base;
  2212. }
  2213. // -----------------------------------------------------------------------------------------------------------
  2214. template <> size_t GenericFill<IfcStructuralCurveMemberVarying>(const DB& db, const LIST& params, IfcStructuralCurveMemberVarying* in)
  2215. {
  2216. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveMember*>(in));
  2217. // this data structure is not used yet, so there is no code generated to fill its members
  2218. return base;
  2219. }
  2220. // -----------------------------------------------------------------------------------------------------------
  2221. template <> size_t GenericFill<IfcRampFlightType>(const DB& db, const LIST& params, IfcRampFlightType* in)
  2222. {
  2223. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2224. // this data structure is not used yet, so there is no code generated to fill its members
  2225. return base;
  2226. }
  2227. // -----------------------------------------------------------------------------------------------------------
  2228. template <> size_t GenericFill<IfcDraughtingCallout>(const DB& db, const LIST& params, IfcDraughtingCallout* in)
  2229. {
  2230. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2231. // this data structure is not used yet, so there is no code generated to fill its members
  2232. return base;
  2233. }
  2234. // -----------------------------------------------------------------------------------------------------------
  2235. template <> size_t GenericFill<IfcDimensionCurveDirectedCallout>(const DB& db, const LIST& params, IfcDimensionCurveDirectedCallout* in)
  2236. {
  2237. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  2238. // this data structure is not used yet, so there is no code generated to fill its members
  2239. return base;
  2240. }
  2241. // -----------------------------------------------------------------------------------------------------------
  2242. template <> size_t GenericFill<IfcRadiusDimension>(const DB& db, const LIST& params, IfcRadiusDimension* in)
  2243. {
  2244. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2245. // this data structure is not used yet, so there is no code generated to fill its members
  2246. return base;
  2247. }
  2248. // -----------------------------------------------------------------------------------------------------------
  2249. template <> size_t GenericFill<IfcEdgeFeature>(const DB& db, const LIST& params, IfcEdgeFeature* in)
  2250. {
  2251. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  2252. // this data structure is not used yet, so there is no code generated to fill its members
  2253. return base;
  2254. }
  2255. // -----------------------------------------------------------------------------------------------------------
  2256. template <> size_t GenericFill<IfcSweptAreaSolid>(const DB& db, const LIST& params, IfcSweptAreaSolid* in)
  2257. {
  2258. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2259. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSweptAreaSolid"); } do { // convert the 'SweptArea' argument
  2260. const DataType* arg = params[base++];
  2261. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[0]=true; break; }
  2262. try { GenericConvert( in->SweptArea, *arg, db ); break; }
  2263. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptAreaSolid to be a `IfcProfileDef`")); }
  2264. } while(0);
  2265. do { // convert the 'Position' argument
  2266. const DataType* arg = params[base++];
  2267. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[1]=true; break; }
  2268. try { GenericConvert( in->Position, *arg, db ); break; }
  2269. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptAreaSolid to be a `IfcAxis2Placement3D`")); }
  2270. } while(0);
  2271. return base;
  2272. }
  2273. // -----------------------------------------------------------------------------------------------------------
  2274. template <> size_t GenericFill<IfcExtrudedAreaSolid>(const DB& db, const LIST& params, IfcExtrudedAreaSolid* in)
  2275. {
  2276. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2277. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcExtrudedAreaSolid"); } do { // convert the 'ExtrudedDirection' argument
  2278. const DataType* arg = params[base++];
  2279. try { GenericConvert( in->ExtrudedDirection, *arg, db ); break; }
  2280. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcExtrudedAreaSolid to be a `IfcDirection`")); }
  2281. } while(0);
  2282. do { // convert the 'Depth' argument
  2283. const DataType* arg = params[base++];
  2284. try { GenericConvert( in->Depth, *arg, db ); break; }
  2285. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcExtrudedAreaSolid to be a `IfcPositiveLengthMeasure`")); }
  2286. } while(0);
  2287. return base;
  2288. }
  2289. // -----------------------------------------------------------------------------------------------------------
  2290. template <> size_t GenericFill<IfcAnnotationTextOccurrence>(const DB& db, const LIST& params, IfcAnnotationTextOccurrence* in)
  2291. {
  2292. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2293. // this data structure is not used yet, so there is no code generated to fill its members
  2294. return base;
  2295. }
  2296. // -----------------------------------------------------------------------------------------------------------
  2297. template <> size_t GenericFill<IfcStair>(const DB& db, const LIST& params, IfcStair* in)
  2298. {
  2299. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2300. // this data structure is not used yet, so there is no code generated to fill its members
  2301. return base;
  2302. }
  2303. // -----------------------------------------------------------------------------------------------------------
  2304. template <> size_t GenericFill<IfcFillAreaStyleTileSymbolWithStyle>(const DB& db, const LIST& params, IfcFillAreaStyleTileSymbolWithStyle* in)
  2305. {
  2306. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2307. // this data structure is not used yet, so there is no code generated to fill its members
  2308. return base;
  2309. }
  2310. // -----------------------------------------------------------------------------------------------------------
  2311. template <> size_t GenericFill<IfcAnnotationSymbolOccurrence>(const DB& db, const LIST& params, IfcAnnotationSymbolOccurrence* in)
  2312. {
  2313. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2314. // this data structure is not used yet, so there is no code generated to fill its members
  2315. return base;
  2316. }
  2317. // -----------------------------------------------------------------------------------------------------------
  2318. template <> size_t GenericFill<IfcTerminatorSymbol>(const DB& db, const LIST& params, IfcTerminatorSymbol* in)
  2319. {
  2320. size_t base = GenericFill(db,params,static_cast<IfcAnnotationSymbolOccurrence*>(in));
  2321. // this data structure is not used yet, so there is no code generated to fill its members
  2322. return base;
  2323. }
  2324. // -----------------------------------------------------------------------------------------------------------
  2325. template <> size_t GenericFill<IfcDimensionCurveTerminator>(const DB& db, const LIST& params, IfcDimensionCurveTerminator* in)
  2326. {
  2327. size_t base = GenericFill(db,params,static_cast<IfcTerminatorSymbol*>(in));
  2328. // this data structure is not used yet, so there is no code generated to fill its members
  2329. return base;
  2330. }
  2331. // -----------------------------------------------------------------------------------------------------------
  2332. template <> size_t GenericFill<IfcRectangleProfileDef>(const DB& db, const LIST& params, IfcRectangleProfileDef* in)
  2333. {
  2334. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2335. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRectangleProfileDef"); } do { // convert the 'XDim' argument
  2336. const DataType* arg = params[base++];
  2337. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[0]=true; break; }
  2338. try { GenericConvert( in->XDim, *arg, db ); break; }
  2339. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2340. } while(0);
  2341. do { // convert the 'YDim' argument
  2342. const DataType* arg = params[base++];
  2343. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[1]=true; break; }
  2344. try { GenericConvert( in->YDim, *arg, db ); break; }
  2345. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2346. } while(0);
  2347. return base;
  2348. }
  2349. // -----------------------------------------------------------------------------------------------------------
  2350. template <> size_t GenericFill<IfcRectangleHollowProfileDef>(const DB& db, const LIST& params, IfcRectangleHollowProfileDef* in)
  2351. {
  2352. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  2353. // this data structure is not used yet, so there is no code generated to fill its members
  2354. return base;
  2355. }
  2356. // -----------------------------------------------------------------------------------------------------------
  2357. template <> size_t GenericFill<IfcLocalPlacement>(const DB& db, const LIST& params, IfcLocalPlacement* in)
  2358. {
  2359. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  2360. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLocalPlacement"); } do { // convert the 'PlacementRelTo' argument
  2361. const DataType* arg = params[base++];
  2362. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2363. try { GenericConvert( in->PlacementRelTo, *arg, db ); break; }
  2364. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLocalPlacement to be a `IfcObjectPlacement`")); }
  2365. } while(0);
  2366. do { // convert the 'RelativePlacement' argument
  2367. const DataType* arg = params[base++];
  2368. try { GenericConvert( in->RelativePlacement, *arg, db ); break; }
  2369. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLocalPlacement to be a `IfcAxis2Placement`")); }
  2370. } while(0);
  2371. return base;
  2372. }
  2373. // -----------------------------------------------------------------------------------------------------------
  2374. template <> size_t GenericFill<IfcTask>(const DB& db, const LIST& params, IfcTask* in)
  2375. {
  2376. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(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<IfcAnnotationFillAreaOccurrence>(const DB& db, const LIST& params, IfcAnnotationFillAreaOccurrence* in)
  2382. {
  2383. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(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<IfcFace>(const DB& db, const LIST& params, IfcFace* in)
  2389. {
  2390. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2391. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFace"); } do { // convert the 'Bounds' argument
  2392. const DataType* arg = params[base++];
  2393. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFace,1>::aux_is_derived[0]=true; break; }
  2394. try { GenericConvert( in->Bounds, *arg, db ); break; }
  2395. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFace to be a `SET [1:?] OF IfcFaceBound`")); }
  2396. } while(0);
  2397. return base;
  2398. }
  2399. // -----------------------------------------------------------------------------------------------------------
  2400. template <> size_t GenericFill<IfcFlowSegmentType>(const DB& db, const LIST& params, IfcFlowSegmentType* in)
  2401. {
  2402. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2403. // this data structure is not used yet, so there is no code generated to fill its members
  2404. return base;
  2405. }
  2406. // -----------------------------------------------------------------------------------------------------------
  2407. template <> size_t GenericFill<IfcDuctSegmentType>(const DB& db, const LIST& params, IfcDuctSegmentType* in)
  2408. {
  2409. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  2410. // this data structure is not used yet, so there is no code generated to fill its members
  2411. return base;
  2412. }
  2413. // -----------------------------------------------------------------------------------------------------------
  2414. template <> size_t GenericFill<IfcConstructionResource>(const DB& db, const LIST& params, IfcConstructionResource* in)
  2415. {
  2416. size_t base = GenericFill(db,params,static_cast<IfcResource*>(in));
  2417. // this data structure is not used yet, so there is no code generated to fill its members
  2418. return base;
  2419. }
  2420. // -----------------------------------------------------------------------------------------------------------
  2421. template <> size_t GenericFill<IfcConstructionEquipmentResource>(const DB& db, const LIST& params, IfcConstructionEquipmentResource* in)
  2422. {
  2423. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2424. // this data structure is not used yet, so there is no code generated to fill its members
  2425. return base;
  2426. }
  2427. // -----------------------------------------------------------------------------------------------------------
  2428. template <> size_t GenericFill<IfcSanitaryTerminalType>(const DB& db, const LIST& params, IfcSanitaryTerminalType* in)
  2429. {
  2430. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2431. // this data structure is not used yet, so there is no code generated to fill its members
  2432. return base;
  2433. }
  2434. // -----------------------------------------------------------------------------------------------------------
  2435. template <> size_t GenericFill<IfcCircleProfileDef>(const DB& db, const LIST& params, IfcCircleProfileDef* in)
  2436. {
  2437. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2438. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCircleProfileDef"); } do { // convert the 'Radius' argument
  2439. const DataType* arg = params[base++];
  2440. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCircleProfileDef,1>::aux_is_derived[0]=true; break; }
  2441. try { GenericConvert( in->Radius, *arg, db ); break; }
  2442. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCircleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2443. } while(0);
  2444. return base;
  2445. }
  2446. // -----------------------------------------------------------------------------------------------------------
  2447. template <> size_t GenericFill<IfcStructuralReaction>(const DB& db, const LIST& params, IfcStructuralReaction* in)
  2448. {
  2449. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  2450. // this data structure is not used yet, so there is no code generated to fill its members
  2451. return base;
  2452. }
  2453. // -----------------------------------------------------------------------------------------------------------
  2454. template <> size_t GenericFill<IfcStructuralPointReaction>(const DB& db, const LIST& params, IfcStructuralPointReaction* in)
  2455. {
  2456. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  2457. // this data structure is not used yet, so there is no code generated to fill its members
  2458. return base;
  2459. }
  2460. // -----------------------------------------------------------------------------------------------------------
  2461. template <> size_t GenericFill<IfcRailing>(const DB& db, const LIST& params, IfcRailing* in)
  2462. {
  2463. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2464. // this data structure is not used yet, so there is no code generated to fill its members
  2465. return base;
  2466. }
  2467. // -----------------------------------------------------------------------------------------------------------
  2468. template <> size_t GenericFill<IfcTextLiteral>(const DB& db, const LIST& params, IfcTextLiteral* in)
  2469. {
  2470. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2471. // this data structure is not used yet, so there is no code generated to fill its members
  2472. return base;
  2473. }
  2474. // -----------------------------------------------------------------------------------------------------------
  2475. template <> size_t GenericFill<IfcCartesianTransformationOperator>(const DB& db, const LIST& params, IfcCartesianTransformationOperator* in)
  2476. {
  2477. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2478. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCartesianTransformationOperator"); } do { // convert the 'Axis1' argument
  2479. const DataType* arg = params[base++];
  2480. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[0]=true; break; }
  2481. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2482. try { GenericConvert( in->Axis1, *arg, db ); break; }
  2483. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2484. } while(0);
  2485. do { // convert the 'Axis2' argument
  2486. const DataType* arg = params[base++];
  2487. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[1]=true; break; }
  2488. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2489. try { GenericConvert( in->Axis2, *arg, db ); break; }
  2490. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2491. } while(0);
  2492. do { // convert the 'LocalOrigin' argument
  2493. const DataType* arg = params[base++];
  2494. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[2]=true; break; }
  2495. try { GenericConvert( in->LocalOrigin, *arg, db ); break; }
  2496. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCartesianTransformationOperator to be a `IfcCartesianPoint`")); }
  2497. } while(0);
  2498. do { // convert the 'Scale' argument
  2499. const DataType* arg = params[base++];
  2500. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[3]=true; break; }
  2501. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2502. try { GenericConvert( in->Scale, *arg, db ); break; }
  2503. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCartesianTransformationOperator to be a `REAL`")); }
  2504. } while(0);
  2505. return base;
  2506. }
  2507. // -----------------------------------------------------------------------------------------------------------
  2508. template <> size_t GenericFill<IfcLinearDimension>(const DB& db, const LIST& params, IfcLinearDimension* in)
  2509. {
  2510. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2511. // this data structure is not used yet, so there is no code generated to fill its members
  2512. return base;
  2513. }
  2514. // -----------------------------------------------------------------------------------------------------------
  2515. template <> size_t GenericFill<IfcDamperType>(const DB& db, const LIST& params, IfcDamperType* in)
  2516. {
  2517. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2518. // this data structure is not used yet, so there is no code generated to fill its members
  2519. return base;
  2520. }
  2521. // -----------------------------------------------------------------------------------------------------------
  2522. template <> size_t GenericFill<IfcSIUnit>(const DB& db, const LIST& params, IfcSIUnit* in)
  2523. {
  2524. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2525. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcSIUnit"); } do { // convert the 'Prefix' argument
  2526. const DataType* arg = params[base++];
  2527. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2528. try { GenericConvert( in->Prefix, *arg, db ); break; }
  2529. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSIUnit to be a `IfcSIPrefix`")); }
  2530. } while(0);
  2531. do { // convert the 'Name' argument
  2532. const DataType* arg = params[base++];
  2533. try { GenericConvert( in->Name, *arg, db ); break; }
  2534. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSIUnit to be a `IfcSIUnitName`")); }
  2535. } while(0);
  2536. return base;
  2537. }
  2538. // -----------------------------------------------------------------------------------------------------------
  2539. template <> size_t GenericFill<IfcMeasureWithUnit>(const DB& db, const LIST& params, IfcMeasureWithUnit* in)
  2540. {
  2541. size_t base = 0;
  2542. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMeasureWithUnit"); } do { // convert the 'ValueComponent' argument
  2543. const DataType* arg = params[base++];
  2544. try { GenericConvert( in->ValueComponent, *arg, db ); break; }
  2545. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMeasureWithUnit to be a `IfcValue`")); }
  2546. } while(0);
  2547. do { // convert the 'UnitComponent' argument
  2548. const DataType* arg = params[base++];
  2549. try { GenericConvert( in->UnitComponent, *arg, db ); break; }
  2550. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMeasureWithUnit to be a `IfcUnit`")); }
  2551. } while(0);
  2552. return base;
  2553. }
  2554. // -----------------------------------------------------------------------------------------------------------
  2555. template <> size_t GenericFill<IfcDistributionElement>(const DB& db, const LIST& params, IfcDistributionElement* in)
  2556. {
  2557. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2558. // this data structure is not used yet, so there is no code generated to fill its members
  2559. return base;
  2560. }
  2561. // -----------------------------------------------------------------------------------------------------------
  2562. template <> size_t GenericFill<IfcDistributionControlElement>(const DB& db, const LIST& params, IfcDistributionControlElement* in)
  2563. {
  2564. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2565. // this data structure is not used yet, so there is no code generated to fill its members
  2566. return base;
  2567. }
  2568. // -----------------------------------------------------------------------------------------------------------
  2569. template <> size_t GenericFill<IfcTransformerType>(const DB& db, const LIST& params, IfcTransformerType* in)
  2570. {
  2571. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2572. // this data structure is not used yet, so there is no code generated to fill its members
  2573. return base;
  2574. }
  2575. // -----------------------------------------------------------------------------------------------------------
  2576. template <> size_t GenericFill<IfcLaborResource>(const DB& db, const LIST& params, IfcLaborResource* in)
  2577. {
  2578. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2579. // this data structure is not used yet, so there is no code generated to fill its members
  2580. return base;
  2581. }
  2582. // -----------------------------------------------------------------------------------------------------------
  2583. template <> size_t GenericFill<IfcFurnitureStandard>(const DB& db, const LIST& params, IfcFurnitureStandard* in)
  2584. {
  2585. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2586. // this data structure is not used yet, so there is no code generated to fill its members
  2587. return base;
  2588. }
  2589. // -----------------------------------------------------------------------------------------------------------
  2590. template <> size_t GenericFill<IfcStairFlightType>(const DB& db, const LIST& params, IfcStairFlightType* in)
  2591. {
  2592. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2593. // this data structure is not used yet, so there is no code generated to fill its members
  2594. return base;
  2595. }
  2596. // -----------------------------------------------------------------------------------------------------------
  2597. template <> size_t GenericFill<IfcWorkControl>(const DB& db, const LIST& params, IfcWorkControl* in)
  2598. {
  2599. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2600. // this data structure is not used yet, so there is no code generated to fill its members
  2601. return base;
  2602. }
  2603. // -----------------------------------------------------------------------------------------------------------
  2604. template <> size_t GenericFill<IfcWorkPlan>(const DB& db, const LIST& params, IfcWorkPlan* in)
  2605. {
  2606. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  2607. // this data structure is not used yet, so there is no code generated to fill its members
  2608. return base;
  2609. }
  2610. // -----------------------------------------------------------------------------------------------------------
  2611. template <> size_t GenericFill<IfcCondition>(const DB& db, const LIST& params, IfcCondition* in)
  2612. {
  2613. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2614. // this data structure is not used yet, so there is no code generated to fill its members
  2615. return base;
  2616. }
  2617. // -----------------------------------------------------------------------------------------------------------
  2618. template <> size_t GenericFill<IfcWindow>(const DB& db, const LIST& params, IfcWindow* in)
  2619. {
  2620. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2621. // this data structure is not used yet, so there is no code generated to fill its members
  2622. return base;
  2623. }
  2624. // -----------------------------------------------------------------------------------------------------------
  2625. template <> size_t GenericFill<IfcProtectiveDeviceType>(const DB& db, const LIST& params, IfcProtectiveDeviceType* in)
  2626. {
  2627. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2628. // this data structure is not used yet, so there is no code generated to fill its members
  2629. return base;
  2630. }
  2631. // -----------------------------------------------------------------------------------------------------------
  2632. template <> size_t GenericFill<IfcJunctionBoxType>(const DB& db, const LIST& params, IfcJunctionBoxType* in)
  2633. {
  2634. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2635. // this data structure is not used yet, so there is no code generated to fill its members
  2636. return base;
  2637. }
  2638. // -----------------------------------------------------------------------------------------------------------
  2639. template <> size_t GenericFill<IfcStructuralAnalysisModel>(const DB& db, const LIST& params, IfcStructuralAnalysisModel* in)
  2640. {
  2641. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  2642. // this data structure is not used yet, so there is no code generated to fill its members
  2643. return base;
  2644. }
  2645. // -----------------------------------------------------------------------------------------------------------
  2646. template <> size_t GenericFill<IfcAxis2Placement2D>(const DB& db, const LIST& params, IfcAxis2Placement2D* in)
  2647. {
  2648. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  2649. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis2Placement2D"); } do { // convert the 'RefDirection' argument
  2650. const DataType* arg = params[base++];
  2651. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2652. try { GenericConvert( in->RefDirection, *arg, db ); break; }
  2653. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement2D to be a `IfcDirection`")); }
  2654. } while(0);
  2655. return base;
  2656. }
  2657. // -----------------------------------------------------------------------------------------------------------
  2658. template <> size_t GenericFill<IfcSpaceType>(const DB& db, const LIST& params, IfcSpaceType* in)
  2659. {
  2660. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElementType*>(in));
  2661. // this data structure is not used yet, so there is no code generated to fill its members
  2662. return base;
  2663. }
  2664. // -----------------------------------------------------------------------------------------------------------
  2665. template <> size_t GenericFill<IfcEllipseProfileDef>(const DB& db, const LIST& params, IfcEllipseProfileDef* in)
  2666. {
  2667. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2668. // this data structure is not used yet, so there is no code generated to fill its members
  2669. return base;
  2670. }
  2671. // -----------------------------------------------------------------------------------------------------------
  2672. template <> size_t GenericFill<IfcDistributionFlowElement>(const DB& db, const LIST& params, IfcDistributionFlowElement* in)
  2673. {
  2674. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2675. // this data structure is not used yet, so there is no code generated to fill its members
  2676. return base;
  2677. }
  2678. // -----------------------------------------------------------------------------------------------------------
  2679. template <> size_t GenericFill<IfcFlowMovingDevice>(const DB& db, const LIST& params, IfcFlowMovingDevice* in)
  2680. {
  2681. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2682. // this data structure is not used yet, so there is no code generated to fill its members
  2683. return base;
  2684. }
  2685. // -----------------------------------------------------------------------------------------------------------
  2686. template <> size_t GenericFill<IfcSurfaceStyleWithTextures>(const DB& db, const LIST& params, IfcSurfaceStyleWithTextures* in)
  2687. {
  2688. size_t base = 0;
  2689. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleWithTextures"); } do { // convert the 'Textures' argument
  2690. const DataType* arg = params[base++];
  2691. try { GenericConvert( in->Textures, *arg, db ); break; }
  2692. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleWithTextures to be a `LIST [1:?] OF IfcSurfaceTexture`")); }
  2693. } while(0);
  2694. return base;
  2695. }
  2696. // -----------------------------------------------------------------------------------------------------------
  2697. template <> size_t GenericFill<IfcGeometricSet>(const DB& db, const LIST& params, IfcGeometricSet* in)
  2698. {
  2699. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(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<IfcProjectOrder>(const DB& db, const LIST& params, IfcProjectOrder* in)
  2705. {
  2706. size_t base = GenericFill(db,params,static_cast<IfcControl*>(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<IfcBSplineCurve>(const DB& db, const LIST& params, IfcBSplineCurve* in)
  2712. {
  2713. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(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<IfcBezierCurve>(const DB& db, const LIST& params, IfcBezierCurve* in)
  2719. {
  2720. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurve*>(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<IfcStructuralPointConnection>(const DB& db, const LIST& params, IfcStructuralPointConnection* in)
  2726. {
  2727. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(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<IfcFlowController>(const DB& db, const LIST& params, IfcFlowController* in)
  2733. {
  2734. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcElectricDistributionPoint>(const DB& db, const LIST& params, IfcElectricDistributionPoint* in)
  2740. {
  2741. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  2742. // this data structure is not used yet, so there is no code generated to fill its members
  2743. return base;
  2744. }
  2745. // -----------------------------------------------------------------------------------------------------------
  2746. template <> size_t GenericFill<IfcSite>(const DB& db, const LIST& params, IfcSite* in)
  2747. {
  2748. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2749. // this data structure is not used yet, so there is no code generated to fill its members
  2750. return base;
  2751. }
  2752. // -----------------------------------------------------------------------------------------------------------
  2753. template <> size_t GenericFill<IfcOffsetCurve3D>(const DB& db, const LIST& params, IfcOffsetCurve3D* in)
  2754. {
  2755. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2756. // this data structure is not used yet, so there is no code generated to fill its members
  2757. return base;
  2758. }
  2759. // -----------------------------------------------------------------------------------------------------------
  2760. template <> size_t GenericFill<IfcVirtualElement>(const DB& db, const LIST& params, IfcVirtualElement* in)
  2761. {
  2762. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2763. // this data structure is not used yet, so there is no code generated to fill its members
  2764. return base;
  2765. }
  2766. // -----------------------------------------------------------------------------------------------------------
  2767. template <> size_t GenericFill<IfcConstructionProductResource>(const DB& db, const LIST& params, IfcConstructionProductResource* in)
  2768. {
  2769. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2770. // this data structure is not used yet, so there is no code generated to fill its members
  2771. return base;
  2772. }
  2773. // -----------------------------------------------------------------------------------------------------------
  2774. template <> size_t GenericFill<IfcSurfaceCurveSweptAreaSolid>(const DB& db, const LIST& params, IfcSurfaceCurveSweptAreaSolid* in)
  2775. {
  2776. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2777. // this data structure is not used yet, so there is no code generated to fill its members
  2778. return base;
  2779. }
  2780. // -----------------------------------------------------------------------------------------------------------
  2781. template <> size_t GenericFill<IfcCartesianTransformationOperator3D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3D* in)
  2782. {
  2783. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2784. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCartesianTransformationOperator3D"); } do { // convert the 'Axis3' argument
  2785. const DataType* arg = params[base++];
  2786. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator3D,1>::aux_is_derived[0]=true; break; }
  2787. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2788. try { GenericConvert( in->Axis3, *arg, db ); break; }
  2789. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCartesianTransformationOperator3D to be a `IfcDirection`")); }
  2790. } while(0);
  2791. return base;
  2792. }
  2793. // -----------------------------------------------------------------------------------------------------------
  2794. template <> size_t GenericFill<IfcCartesianTransformationOperator3DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3DnonUniform* in)
  2795. {
  2796. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator3D*>(in));
  2797. // this data structure is not used yet, so there is no code generated to fill its members
  2798. return base;
  2799. }
  2800. // -----------------------------------------------------------------------------------------------------------
  2801. template <> size_t GenericFill<IfcCrewResource>(const DB& db, const LIST& params, IfcCrewResource* in)
  2802. {
  2803. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2804. // this data structure is not used yet, so there is no code generated to fill its members
  2805. return base;
  2806. }
  2807. // -----------------------------------------------------------------------------------------------------------
  2808. template <> size_t GenericFill<IfcStructuralSurfaceMember>(const DB& db, const LIST& params, IfcStructuralSurfaceMember* in)
  2809. {
  2810. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  2811. // this data structure is not used yet, so there is no code generated to fill its members
  2812. return base;
  2813. }
  2814. // -----------------------------------------------------------------------------------------------------------
  2815. template <> size_t GenericFill<Ifc2DCompositeCurve>(const DB& db, const LIST& params, Ifc2DCompositeCurve* in)
  2816. {
  2817. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurve*>(in));
  2818. // this data structure is not used yet, so there is no code generated to fill its members
  2819. return base;
  2820. }
  2821. // -----------------------------------------------------------------------------------------------------------
  2822. template <> size_t GenericFill<IfcRepresentationContext>(const DB& db, const LIST& params, IfcRepresentationContext* in)
  2823. {
  2824. size_t base = 0;
  2825. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationContext"); } do { // convert the 'ContextIdentifier' argument
  2826. const DataType* arg = params[base++];
  2827. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[0]=true; break; }
  2828. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2829. try { GenericConvert( in->ContextIdentifier, *arg, db ); break; }
  2830. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationContext to be a `IfcLabel`")); }
  2831. } while(0);
  2832. do { // convert the 'ContextType' argument
  2833. const DataType* arg = params[base++];
  2834. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[1]=true; break; }
  2835. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2836. try { GenericConvert( in->ContextType, *arg, db ); break; }
  2837. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationContext to be a `IfcLabel`")); }
  2838. } while(0);
  2839. return base;
  2840. }
  2841. // -----------------------------------------------------------------------------------------------------------
  2842. template <> size_t GenericFill<IfcGeometricRepresentationContext>(const DB& db, const LIST& params, IfcGeometricRepresentationContext* in)
  2843. {
  2844. size_t base = GenericFill(db,params,static_cast<IfcRepresentationContext*>(in));
  2845. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcGeometricRepresentationContext"); } do { // convert the 'CoordinateSpaceDimension' argument
  2846. const DataType* arg = params[base++];
  2847. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[0]=true; break; }
  2848. try { GenericConvert( in->CoordinateSpaceDimension, *arg, db ); break; }
  2849. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcGeometricRepresentationContext to be a `IfcDimensionCount`")); }
  2850. } while(0);
  2851. do { // convert the 'Precision' argument
  2852. const DataType* arg = params[base++];
  2853. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[1]=true; break; }
  2854. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2855. try { GenericConvert( in->Precision, *arg, db ); break; }
  2856. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcGeometricRepresentationContext to be a `REAL`")); }
  2857. } while(0);
  2858. do { // convert the 'WorldCoordinateSystem' argument
  2859. const DataType* arg = params[base++];
  2860. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[2]=true; break; }
  2861. try { GenericConvert( in->WorldCoordinateSystem, *arg, db ); break; }
  2862. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcGeometricRepresentationContext to be a `IfcAxis2Placement`")); }
  2863. } while(0);
  2864. do { // convert the 'TrueNorth' argument
  2865. const DataType* arg = params[base++];
  2866. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[3]=true; break; }
  2867. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2868. try { GenericConvert( in->TrueNorth, *arg, db ); break; }
  2869. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcGeometricRepresentationContext to be a `IfcDirection`")); }
  2870. } while(0);
  2871. return base;
  2872. }
  2873. // -----------------------------------------------------------------------------------------------------------
  2874. template <> size_t GenericFill<IfcFlowTreatmentDevice>(const DB& db, const LIST& params, IfcFlowTreatmentDevice* in)
  2875. {
  2876. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2877. // this data structure is not used yet, so there is no code generated to fill its members
  2878. return base;
  2879. }
  2880. // -----------------------------------------------------------------------------------------------------------
  2881. template <> size_t GenericFill<IfcRightCircularCylinder>(const DB& db, const LIST& params, IfcRightCircularCylinder* in)
  2882. {
  2883. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  2884. // this data structure is not used yet, so there is no code generated to fill its members
  2885. return base;
  2886. }
  2887. // -----------------------------------------------------------------------------------------------------------
  2888. template <> size_t GenericFill<IfcWasteTerminalType>(const DB& db, const LIST& params, IfcWasteTerminalType* in)
  2889. {
  2890. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2891. // this data structure is not used yet, so there is no code generated to fill its members
  2892. return base;
  2893. }
  2894. // -----------------------------------------------------------------------------------------------------------
  2895. template <> size_t GenericFill<IfcBuildingElementComponent>(const DB& db, const LIST& params, IfcBuildingElementComponent* in)
  2896. {
  2897. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2898. // this data structure is not used yet, so there is no code generated to fill its members
  2899. return base;
  2900. }
  2901. // -----------------------------------------------------------------------------------------------------------
  2902. template <> size_t GenericFill<IfcBuildingElementPart>(const DB& db, const LIST& params, IfcBuildingElementPart* in)
  2903. {
  2904. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  2905. // this data structure is not used yet, so there is no code generated to fill its members
  2906. return base;
  2907. }
  2908. // -----------------------------------------------------------------------------------------------------------
  2909. template <> size_t GenericFill<IfcWall>(const DB& db, const LIST& params, IfcWall* in)
  2910. {
  2911. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2912. // this data structure is not used yet, so there is no code generated to fill its members
  2913. return base;
  2914. }
  2915. // -----------------------------------------------------------------------------------------------------------
  2916. template <> size_t GenericFill<IfcWallStandardCase>(const DB& db, const LIST& params, IfcWallStandardCase* in)
  2917. {
  2918. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  2919. // this data structure is not used yet, so there is no code generated to fill its members
  2920. return base;
  2921. }
  2922. // -----------------------------------------------------------------------------------------------------------
  2923. template <> size_t GenericFill<IfcPath>(const DB& db, const LIST& params, IfcPath* in)
  2924. {
  2925. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2926. // this data structure is not used yet, so there is no code generated to fill its members
  2927. return base;
  2928. }
  2929. // -----------------------------------------------------------------------------------------------------------
  2930. template <> size_t GenericFill<IfcDefinedSymbol>(const DB& db, const LIST& params, IfcDefinedSymbol* in)
  2931. {
  2932. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2933. // this data structure is not used yet, so there is no code generated to fill its members
  2934. return base;
  2935. }
  2936. // -----------------------------------------------------------------------------------------------------------
  2937. template <> size_t GenericFill<IfcStructuralSurfaceMemberVarying>(const DB& db, const LIST& params, IfcStructuralSurfaceMemberVarying* in)
  2938. {
  2939. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceMember*>(in));
  2940. // this data structure is not used yet, so there is no code generated to fill its members
  2941. return base;
  2942. }
  2943. // -----------------------------------------------------------------------------------------------------------
  2944. template <> size_t GenericFill<IfcPoint>(const DB& db, const LIST& params, IfcPoint* in)
  2945. {
  2946. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2947. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcPoint"); } return base;
  2948. }
  2949. // -----------------------------------------------------------------------------------------------------------
  2950. template <> size_t GenericFill<IfcSurfaceOfRevolution>(const DB& db, const LIST& params, IfcSurfaceOfRevolution* in)
  2951. {
  2952. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  2953. // this data structure is not used yet, so there is no code generated to fill its members
  2954. return base;
  2955. }
  2956. // -----------------------------------------------------------------------------------------------------------
  2957. template <> size_t GenericFill<IfcFlowTerminal>(const DB& db, const LIST& params, IfcFlowTerminal* in)
  2958. {
  2959. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2960. // this data structure is not used yet, so there is no code generated to fill its members
  2961. return base;
  2962. }
  2963. // -----------------------------------------------------------------------------------------------------------
  2964. template <> size_t GenericFill<IfcFurnishingElement>(const DB& db, const LIST& params, IfcFurnishingElement* in)
  2965. {
  2966. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2967. // this data structure is not used yet, so there is no code generated to fill its members
  2968. return base;
  2969. }
  2970. // -----------------------------------------------------------------------------------------------------------
  2971. template <> size_t GenericFill<IfcSurfaceStyleShading>(const DB& db, const LIST& params, IfcSurfaceStyleShading* in)
  2972. {
  2973. size_t base = 0;
  2974. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleShading"); } do { // convert the 'SurfaceColour' argument
  2975. const DataType* arg = params[base++];
  2976. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,1>::aux_is_derived[0]=true; break; }
  2977. try { GenericConvert( in->SurfaceColour, *arg, db ); break; }
  2978. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleShading to be a `IfcColourRgb`")); }
  2979. } while(0);
  2980. return base;
  2981. }
  2982. // -----------------------------------------------------------------------------------------------------------
  2983. template <> size_t GenericFill<IfcSurfaceStyleRendering>(const DB& db, const LIST& params, IfcSurfaceStyleRendering* in)
  2984. {
  2985. size_t base = GenericFill(db,params,static_cast<IfcSurfaceStyleShading*>(in));
  2986. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSurfaceStyleRendering"); } do { // convert the 'Transparency' argument
  2987. const DataType* arg = params[base++];
  2988. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2989. try { GenericConvert( in->Transparency, *arg, db ); break; }
  2990. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyleRendering to be a `IfcNormalisedRatioMeasure`")); }
  2991. } while(0);
  2992. do { // convert the 'DiffuseColour' argument
  2993. const DataType* arg = params[base++];
  2994. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2995. try { GenericConvert( in->DiffuseColour, *arg, db ); break; }
  2996. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  2997. } while(0);
  2998. do { // convert the 'TransmissionColour' argument
  2999. const DataType* arg = params[base++];
  3000. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3001. try { GenericConvert( in->TransmissionColour, *arg, db ); break; }
  3002. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3003. } while(0);
  3004. do { // convert the 'DiffuseTransmissionColour' argument
  3005. const DataType* arg = params[base++];
  3006. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3007. try { GenericConvert( in->DiffuseTransmissionColour, *arg, db ); break; }
  3008. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3009. } while(0);
  3010. do { // convert the 'ReflectionColour' argument
  3011. const DataType* arg = params[base++];
  3012. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3013. try { GenericConvert( in->ReflectionColour, *arg, db ); break; }
  3014. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3015. } while(0);
  3016. do { // convert the 'SpecularColour' argument
  3017. const DataType* arg = params[base++];
  3018. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3019. try { GenericConvert( in->SpecularColour, *arg, db ); break; }
  3020. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3021. } while(0);
  3022. do { // convert the 'SpecularHighlight' argument
  3023. const DataType* arg = params[base++];
  3024. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3025. try { GenericConvert( in->SpecularHighlight, *arg, db ); break; }
  3026. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSurfaceStyleRendering to be a `IfcSpecularHighlightSelect`")); }
  3027. } while(0);
  3028. do { // convert the 'ReflectanceMethod' argument
  3029. const DataType* arg = params[base++];
  3030. try { GenericConvert( in->ReflectanceMethod, *arg, db ); break; }
  3031. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSurfaceStyleRendering to be a `IfcReflectanceMethodEnum`")); }
  3032. } while(0);
  3033. return base;
  3034. }
  3035. // -----------------------------------------------------------------------------------------------------------
  3036. template <> size_t GenericFill<IfcCircleHollowProfileDef>(const DB& db, const LIST& params, IfcCircleHollowProfileDef* in)
  3037. {
  3038. size_t base = GenericFill(db,params,static_cast<IfcCircleProfileDef*>(in));
  3039. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCircleHollowProfileDef"); } do { // convert the 'WallThickness' argument
  3040. const DataType* arg = params[base++];
  3041. try { GenericConvert( in->WallThickness, *arg, db ); break; }
  3042. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCircleHollowProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3043. } while(0);
  3044. return base;
  3045. }
  3046. // -----------------------------------------------------------------------------------------------------------
  3047. template <> size_t GenericFill<IfcFlowMovingDeviceType>(const DB& db, const LIST& params, IfcFlowMovingDeviceType* in)
  3048. {
  3049. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3050. // this data structure is not used yet, so there is no code generated to fill its members
  3051. return base;
  3052. }
  3053. // -----------------------------------------------------------------------------------------------------------
  3054. template <> size_t GenericFill<IfcFanType>(const DB& db, const LIST& params, IfcFanType* in)
  3055. {
  3056. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3057. // this data structure is not used yet, so there is no code generated to fill its members
  3058. return base;
  3059. }
  3060. // -----------------------------------------------------------------------------------------------------------
  3061. template <> size_t GenericFill<IfcStructuralPlanarActionVarying>(const DB& db, const LIST& params, IfcStructuralPlanarActionVarying* in)
  3062. {
  3063. size_t base = GenericFill(db,params,static_cast<IfcStructuralPlanarAction*>(in));
  3064. // this data structure is not used yet, so there is no code generated to fill its members
  3065. return base;
  3066. }
  3067. // -----------------------------------------------------------------------------------------------------------
  3068. template <> size_t GenericFill<IfcProductRepresentation>(const DB& db, const LIST& params, IfcProductRepresentation* in)
  3069. {
  3070. size_t base = 0;
  3071. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcProductRepresentation"); } do { // convert the 'Name' argument
  3072. const DataType* arg = params[base++];
  3073. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[0]=true; break; }
  3074. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3075. try { GenericConvert( in->Name, *arg, db ); break; }
  3076. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProductRepresentation to be a `IfcLabel`")); }
  3077. } while(0);
  3078. do { // convert the 'Description' argument
  3079. const DataType* arg = params[base++];
  3080. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[1]=true; break; }
  3081. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3082. try { GenericConvert( in->Description, *arg, db ); break; }
  3083. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProductRepresentation to be a `IfcText`")); }
  3084. } while(0);
  3085. do { // convert the 'Representations' argument
  3086. const DataType* arg = params[base++];
  3087. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[2]=true; break; }
  3088. try { GenericConvert( in->Representations, *arg, db ); break; }
  3089. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcProductRepresentation to be a `LIST [1:?] OF IfcRepresentation`")); }
  3090. } while(0);
  3091. return base;
  3092. }
  3093. // -----------------------------------------------------------------------------------------------------------
  3094. template <> size_t GenericFill<IfcStackTerminalType>(const DB& db, const LIST& params, IfcStackTerminalType* in)
  3095. {
  3096. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3097. // this data structure is not used yet, so there is no code generated to fill its members
  3098. return base;
  3099. }
  3100. // -----------------------------------------------------------------------------------------------------------
  3101. template <> size_t GenericFill<IfcReinforcingElement>(const DB& db, const LIST& params, IfcReinforcingElement* in)
  3102. {
  3103. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  3104. // this data structure is not used yet, so there is no code generated to fill its members
  3105. return base;
  3106. }
  3107. // -----------------------------------------------------------------------------------------------------------
  3108. template <> size_t GenericFill<IfcReinforcingMesh>(const DB& db, const LIST& params, IfcReinforcingMesh* in)
  3109. {
  3110. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3111. // this data structure is not used yet, so there is no code generated to fill its members
  3112. return base;
  3113. }
  3114. // -----------------------------------------------------------------------------------------------------------
  3115. template <> size_t GenericFill<IfcOrderAction>(const DB& db, const LIST& params, IfcOrderAction* in)
  3116. {
  3117. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  3118. // this data structure is not used yet, so there is no code generated to fill its members
  3119. return base;
  3120. }
  3121. // -----------------------------------------------------------------------------------------------------------
  3122. template <> size_t GenericFill<IfcLightSource>(const DB& db, const LIST& params, IfcLightSource* in)
  3123. {
  3124. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3125. // this data structure is not used yet, so there is no code generated to fill its members
  3126. return base;
  3127. }
  3128. // -----------------------------------------------------------------------------------------------------------
  3129. template <> size_t GenericFill<IfcLightSourceDirectional>(const DB& db, const LIST& params, IfcLightSourceDirectional* in)
  3130. {
  3131. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3132. // this data structure is not used yet, so there is no code generated to fill its members
  3133. return base;
  3134. }
  3135. // -----------------------------------------------------------------------------------------------------------
  3136. template <> size_t GenericFill<IfcLoop>(const DB& db, const LIST& params, IfcLoop* in)
  3137. {
  3138. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3139. if (params.GetSize() < 0) { throw STEP::TypeError("expected 0 arguments to IfcLoop"); } return base;
  3140. }
  3141. // -----------------------------------------------------------------------------------------------------------
  3142. template <> size_t GenericFill<IfcVertexLoop>(const DB& db, const LIST& params, IfcVertexLoop* in)
  3143. {
  3144. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3145. // this data structure is not used yet, so there is no code generated to fill its members
  3146. return base;
  3147. }
  3148. // -----------------------------------------------------------------------------------------------------------
  3149. template <> size_t GenericFill<IfcChamferEdgeFeature>(const DB& db, const LIST& params, IfcChamferEdgeFeature* in)
  3150. {
  3151. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  3152. // this data structure is not used yet, so there is no code generated to fill its members
  3153. return base;
  3154. }
  3155. // -----------------------------------------------------------------------------------------------------------
  3156. template <> size_t GenericFill<IfcElementComponentType>(const DB& db, const LIST& params, IfcElementComponentType* in)
  3157. {
  3158. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3159. // this data structure is not used yet, so there is no code generated to fill its members
  3160. return base;
  3161. }
  3162. // -----------------------------------------------------------------------------------------------------------
  3163. template <> size_t GenericFill<IfcFastenerType>(const DB& db, const LIST& params, IfcFastenerType* in)
  3164. {
  3165. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3166. // this data structure is not used yet, so there is no code generated to fill its members
  3167. return base;
  3168. }
  3169. // -----------------------------------------------------------------------------------------------------------
  3170. template <> size_t GenericFill<IfcMechanicalFastenerType>(const DB& db, const LIST& params, IfcMechanicalFastenerType* in)
  3171. {
  3172. size_t base = GenericFill(db,params,static_cast<IfcFastenerType*>(in));
  3173. // this data structure is not used yet, so there is no code generated to fill its members
  3174. return base;
  3175. }
  3176. // -----------------------------------------------------------------------------------------------------------
  3177. template <> size_t GenericFill<IfcScheduleTimeControl>(const DB& db, const LIST& params, IfcScheduleTimeControl* in)
  3178. {
  3179. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3180. // this data structure is not used yet, so there is no code generated to fill its members
  3181. return base;
  3182. }
  3183. // -----------------------------------------------------------------------------------------------------------
  3184. template <> size_t GenericFill<IfcSurfaceStyle>(const DB& db, const LIST& params, IfcSurfaceStyle* in)
  3185. {
  3186. size_t base = GenericFill(db,params,static_cast<IfcPresentationStyle*>(in));
  3187. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcSurfaceStyle"); } do { // convert the 'Side' argument
  3188. const DataType* arg = params[base++];
  3189. try { GenericConvert( in->Side, *arg, db ); break; }
  3190. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyle to be a `IfcSurfaceSide`")); }
  3191. } while(0);
  3192. do { // convert the 'Styles' argument
  3193. const DataType* arg = params[base++];
  3194. try { GenericConvert( in->Styles, *arg, db ); break; }
  3195. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyle to be a `SET [1:5] OF IfcSurfaceStyleElementSelect`")); }
  3196. } while(0);
  3197. return base;
  3198. }
  3199. // -----------------------------------------------------------------------------------------------------------
  3200. template <> size_t GenericFill<IfcOpenShell>(const DB& db, const LIST& params, IfcOpenShell* in)
  3201. {
  3202. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(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<IfcSubContractResource>(const DB& db, const LIST& params, IfcSubContractResource* in)
  3208. {
  3209. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3210. // this data structure is not used yet, so there is no code generated to fill its members
  3211. return base;
  3212. }
  3213. // -----------------------------------------------------------------------------------------------------------
  3214. template <> size_t GenericFill<IfcSweptDiskSolid>(const DB& db, const LIST& params, IfcSweptDiskSolid* in)
  3215. {
  3216. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  3217. // this data structure is not used yet, so there is no code generated to fill its members
  3218. return base;
  3219. }
  3220. // -----------------------------------------------------------------------------------------------------------
  3221. template <> size_t GenericFill<IfcTankType>(const DB& db, const LIST& params, IfcTankType* in)
  3222. {
  3223. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  3224. // this data structure is not used yet, so there is no code generated to fill its members
  3225. return base;
  3226. }
  3227. // -----------------------------------------------------------------------------------------------------------
  3228. template <> size_t GenericFill<IfcSphere>(const DB& db, const LIST& params, IfcSphere* in)
  3229. {
  3230. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  3231. // this data structure is not used yet, so there is no code generated to fill its members
  3232. return base;
  3233. }
  3234. // -----------------------------------------------------------------------------------------------------------
  3235. template <> size_t GenericFill<IfcPolyLoop>(const DB& db, const LIST& params, IfcPolyLoop* in)
  3236. {
  3237. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3238. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyLoop"); } do { // convert the 'Polygon' argument
  3239. const DataType* arg = params[base++];
  3240. try { GenericConvert( in->Polygon, *arg, db ); break; }
  3241. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyLoop to be a `LIST [3:?] OF IfcCartesianPoint`")); }
  3242. } while(0);
  3243. return base;
  3244. }
  3245. // -----------------------------------------------------------------------------------------------------------
  3246. template <> size_t GenericFill<IfcCableCarrierFittingType>(const DB& db, const LIST& params, IfcCableCarrierFittingType* in)
  3247. {
  3248. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3249. // this data structure is not used yet, so there is no code generated to fill its members
  3250. return base;
  3251. }
  3252. // -----------------------------------------------------------------------------------------------------------
  3253. template <> size_t GenericFill<IfcHumidifierType>(const DB& db, const LIST& params, IfcHumidifierType* in)
  3254. {
  3255. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3256. // this data structure is not used yet, so there is no code generated to fill its members
  3257. return base;
  3258. }
  3259. // -----------------------------------------------------------------------------------------------------------
  3260. template <> size_t GenericFill<IfcPerformanceHistory>(const DB& db, const LIST& params, IfcPerformanceHistory* in)
  3261. {
  3262. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3263. // this data structure is not used yet, so there is no code generated to fill its members
  3264. return base;
  3265. }
  3266. // -----------------------------------------------------------------------------------------------------------
  3267. template <> size_t GenericFill<IfcShapeModel>(const DB& db, const LIST& params, IfcShapeModel* in)
  3268. {
  3269. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  3270. // this data structure is not used yet, so there is no code generated to fill its members
  3271. return base;
  3272. }
  3273. // -----------------------------------------------------------------------------------------------------------
  3274. template <> size_t GenericFill<IfcTopologyRepresentation>(const DB& db, const LIST& params, IfcTopologyRepresentation* in)
  3275. {
  3276. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  3277. // this data structure is not used yet, so there is no code generated to fill its members
  3278. return base;
  3279. }
  3280. // -----------------------------------------------------------------------------------------------------------
  3281. template <> size_t GenericFill<IfcBuilding>(const DB& db, const LIST& params, IfcBuilding* in)
  3282. {
  3283. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  3284. // this data structure is not used yet, so there is no code generated to fill its members
  3285. return base;
  3286. }
  3287. // -----------------------------------------------------------------------------------------------------------
  3288. template <> size_t GenericFill<IfcRoundedRectangleProfileDef>(const DB& db, const LIST& params, IfcRoundedRectangleProfileDef* in)
  3289. {
  3290. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  3291. // this data structure is not used yet, so there is no code generated to fill its members
  3292. return base;
  3293. }
  3294. // -----------------------------------------------------------------------------------------------------------
  3295. template <> size_t GenericFill<IfcStairFlight>(const DB& db, const LIST& params, IfcStairFlight* in)
  3296. {
  3297. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3298. // this data structure is not used yet, so there is no code generated to fill its members
  3299. return base;
  3300. }
  3301. // -----------------------------------------------------------------------------------------------------------
  3302. template <> size_t GenericFill<IfcDistributionChamberElement>(const DB& db, const LIST& params, IfcDistributionChamberElement* in)
  3303. {
  3304. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3305. // this data structure is not used yet, so there is no code generated to fill its members
  3306. return base;
  3307. }
  3308. // -----------------------------------------------------------------------------------------------------------
  3309. template <> size_t GenericFill<IfcShapeRepresentation>(const DB& db, const LIST& params, IfcShapeRepresentation* in)
  3310. {
  3311. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  3312. // this data structure is not used yet, so there is no code generated to fill its members
  3313. return base;
  3314. }
  3315. // -----------------------------------------------------------------------------------------------------------
  3316. template <> size_t GenericFill<IfcRampFlight>(const DB& db, const LIST& params, IfcRampFlight* in)
  3317. {
  3318. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3319. // this data structure is not used yet, so there is no code generated to fill its members
  3320. return base;
  3321. }
  3322. // -----------------------------------------------------------------------------------------------------------
  3323. template <> size_t GenericFill<IfcBeamType>(const DB& db, const LIST& params, IfcBeamType* in)
  3324. {
  3325. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3326. // this data structure is not used yet, so there is no code generated to fill its members
  3327. return base;
  3328. }
  3329. // -----------------------------------------------------------------------------------------------------------
  3330. template <> size_t GenericFill<IfcRelDecomposes>(const DB& db, const LIST& params, IfcRelDecomposes* in)
  3331. {
  3332. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  3333. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDecomposes"); } do { // convert the 'RelatingObject' argument
  3334. const DataType* arg = params[base++];
  3335. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[0]=true; break; }
  3336. try { GenericConvert( in->RelatingObject, *arg, db ); break; }
  3337. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDecomposes to be a `IfcObjectDefinition`")); }
  3338. } while(0);
  3339. do { // convert the 'RelatedObjects' argument
  3340. const DataType* arg = params[base++];
  3341. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[1]=true; break; }
  3342. try { GenericConvert( in->RelatedObjects, *arg, db ); break; }
  3343. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDecomposes to be a `SET [1:?] OF IfcObjectDefinition`")); }
  3344. } while(0);
  3345. return base;
  3346. }
  3347. // -----------------------------------------------------------------------------------------------------------
  3348. template <> size_t GenericFill<IfcRoof>(const DB& db, const LIST& params, IfcRoof* in)
  3349. {
  3350. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3351. // this data structure is not used yet, so there is no code generated to fill its members
  3352. return base;
  3353. }
  3354. // -----------------------------------------------------------------------------------------------------------
  3355. template <> size_t GenericFill<IfcFooting>(const DB& db, const LIST& params, IfcFooting* in)
  3356. {
  3357. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3358. // this data structure is not used yet, so there is no code generated to fill its members
  3359. return base;
  3360. }
  3361. // -----------------------------------------------------------------------------------------------------------
  3362. template <> size_t GenericFill<IfcLightSourceAmbient>(const DB& db, const LIST& params, IfcLightSourceAmbient* in)
  3363. {
  3364. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3365. // this data structure is not used yet, so there is no code generated to fill its members
  3366. return base;
  3367. }
  3368. // -----------------------------------------------------------------------------------------------------------
  3369. template <> size_t GenericFill<IfcWindowStyle>(const DB& db, const LIST& params, IfcWindowStyle* in)
  3370. {
  3371. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  3372. // this data structure is not used yet, so there is no code generated to fill its members
  3373. return base;
  3374. }
  3375. // -----------------------------------------------------------------------------------------------------------
  3376. template <> size_t GenericFill<IfcBuildingElementProxyType>(const DB& db, const LIST& params, IfcBuildingElementProxyType* in)
  3377. {
  3378. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3379. // this data structure is not used yet, so there is no code generated to fill its members
  3380. return base;
  3381. }
  3382. // -----------------------------------------------------------------------------------------------------------
  3383. template <> size_t GenericFill<IfcAxis2Placement3D>(const DB& db, const LIST& params, IfcAxis2Placement3D* in)
  3384. {
  3385. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  3386. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcAxis2Placement3D"); } do { // convert the 'Axis' argument
  3387. const DataType* arg = params[base++];
  3388. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3389. try { GenericConvert( in->Axis, *arg, db ); break; }
  3390. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  3391. } while(0);
  3392. do { // convert the 'RefDirection' argument
  3393. const DataType* arg = params[base++];
  3394. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3395. try { GenericConvert( in->RefDirection, *arg, db ); break; }
  3396. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  3397. } while(0);
  3398. return base;
  3399. }
  3400. // -----------------------------------------------------------------------------------------------------------
  3401. template <> size_t GenericFill<IfcEdgeCurve>(const DB& db, const LIST& params, IfcEdgeCurve* in)
  3402. {
  3403. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  3404. // this data structure is not used yet, so there is no code generated to fill its members
  3405. return base;
  3406. }
  3407. // -----------------------------------------------------------------------------------------------------------
  3408. template <> size_t GenericFill<IfcClosedShell>(const DB& db, const LIST& params, IfcClosedShell* in)
  3409. {
  3410. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  3411. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcClosedShell"); } return base;
  3412. }
  3413. // -----------------------------------------------------------------------------------------------------------
  3414. template <> size_t GenericFill<IfcTendonAnchor>(const DB& db, const LIST& params, IfcTendonAnchor* in)
  3415. {
  3416. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3417. // this data structure is not used yet, so there is no code generated to fill its members
  3418. return base;
  3419. }
  3420. // -----------------------------------------------------------------------------------------------------------
  3421. template <> size_t GenericFill<IfcCondenserType>(const DB& db, const LIST& params, IfcCondenserType* in)
  3422. {
  3423. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3424. // this data structure is not used yet, so there is no code generated to fill its members
  3425. return base;
  3426. }
  3427. // -----------------------------------------------------------------------------------------------------------
  3428. template <> size_t GenericFill<IfcPipeSegmentType>(const DB& db, const LIST& params, IfcPipeSegmentType* in)
  3429. {
  3430. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3431. // this data structure is not used yet, so there is no code generated to fill its members
  3432. return base;
  3433. }
  3434. // -----------------------------------------------------------------------------------------------------------
  3435. template <> size_t GenericFill<IfcPointOnSurface>(const DB& db, const LIST& params, IfcPointOnSurface* in)
  3436. {
  3437. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3438. // this data structure is not used yet, so there is no code generated to fill its members
  3439. return base;
  3440. }
  3441. // -----------------------------------------------------------------------------------------------------------
  3442. template <> size_t GenericFill<IfcAsset>(const DB& db, const LIST& params, IfcAsset* in)
  3443. {
  3444. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3445. // this data structure is not used yet, so there is no code generated to fill its members
  3446. return base;
  3447. }
  3448. // -----------------------------------------------------------------------------------------------------------
  3449. template <> size_t GenericFill<IfcLightSourcePositional>(const DB& db, const LIST& params, IfcLightSourcePositional* in)
  3450. {
  3451. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3452. // this data structure is not used yet, so there is no code generated to fill its members
  3453. return base;
  3454. }
  3455. // -----------------------------------------------------------------------------------------------------------
  3456. template <> size_t GenericFill<IfcProjectionCurve>(const DB& db, const LIST& params, IfcProjectionCurve* in)
  3457. {
  3458. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  3459. // this data structure is not used yet, so there is no code generated to fill its members
  3460. return base;
  3461. }
  3462. // -----------------------------------------------------------------------------------------------------------
  3463. template <> size_t GenericFill<IfcFillAreaStyleTiles>(const DB& db, const LIST& params, IfcFillAreaStyleTiles* in)
  3464. {
  3465. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3466. // this data structure is not used yet, so there is no code generated to fill its members
  3467. return base;
  3468. }
  3469. // -----------------------------------------------------------------------------------------------------------
  3470. template <> size_t GenericFill<IfcElectricMotorType>(const DB& db, const LIST& params, IfcElectricMotorType* in)
  3471. {
  3472. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3473. // this data structure is not used yet, so there is no code generated to fill its members
  3474. return base;
  3475. }
  3476. // -----------------------------------------------------------------------------------------------------------
  3477. template <> size_t GenericFill<IfcTendon>(const DB& db, const LIST& params, IfcTendon* in)
  3478. {
  3479. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3480. // this data structure is not used yet, so there is no code generated to fill its members
  3481. return base;
  3482. }
  3483. // -----------------------------------------------------------------------------------------------------------
  3484. template <> size_t GenericFill<IfcDistributionChamberElementType>(const DB& db, const LIST& params, IfcDistributionChamberElementType* in)
  3485. {
  3486. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3487. // this data structure is not used yet, so there is no code generated to fill its members
  3488. return base;
  3489. }
  3490. // -----------------------------------------------------------------------------------------------------------
  3491. template <> size_t GenericFill<IfcMemberType>(const DB& db, const LIST& params, IfcMemberType* in)
  3492. {
  3493. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3494. // this data structure is not used yet, so there is no code generated to fill its members
  3495. return base;
  3496. }
  3497. // -----------------------------------------------------------------------------------------------------------
  3498. template <> size_t GenericFill<IfcStructuralLinearAction>(const DB& db, const LIST& params, IfcStructuralLinearAction* in)
  3499. {
  3500. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  3501. // this data structure is not used yet, so there is no code generated to fill its members
  3502. return base;
  3503. }
  3504. // -----------------------------------------------------------------------------------------------------------
  3505. template <> size_t GenericFill<IfcStructuralLinearActionVarying>(const DB& db, const LIST& params, IfcStructuralLinearActionVarying* in)
  3506. {
  3507. size_t base = GenericFill(db,params,static_cast<IfcStructuralLinearAction*>(in));
  3508. // this data structure is not used yet, so there is no code generated to fill its members
  3509. return base;
  3510. }
  3511. // -----------------------------------------------------------------------------------------------------------
  3512. template <> size_t GenericFill<IfcProductDefinitionShape>(const DB& db, const LIST& params, IfcProductDefinitionShape* in)
  3513. {
  3514. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  3515. // this data structure is not used yet, so there is no code generated to fill its members
  3516. return base;
  3517. }
  3518. // -----------------------------------------------------------------------------------------------------------
  3519. template <> size_t GenericFill<IfcFastener>(const DB& db, const LIST& params, IfcFastener* in)
  3520. {
  3521. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3522. // this data structure is not used yet, so there is no code generated to fill its members
  3523. return base;
  3524. }
  3525. // -----------------------------------------------------------------------------------------------------------
  3526. template <> size_t GenericFill<IfcMechanicalFastener>(const DB& db, const LIST& params, IfcMechanicalFastener* in)
  3527. {
  3528. size_t base = GenericFill(db,params,static_cast<IfcFastener*>(in));
  3529. // this data structure is not used yet, so there is no code generated to fill its members
  3530. return base;
  3531. }
  3532. // -----------------------------------------------------------------------------------------------------------
  3533. template <> size_t GenericFill<IfcEvaporatorType>(const DB& db, const LIST& params, IfcEvaporatorType* in)
  3534. {
  3535. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3536. // this data structure is not used yet, so there is no code generated to fill its members
  3537. return base;
  3538. }
  3539. // -----------------------------------------------------------------------------------------------------------
  3540. template <> size_t GenericFill<IfcDiscreteAccessoryType>(const DB& db, const LIST& params, IfcDiscreteAccessoryType* in)
  3541. {
  3542. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3543. // this data structure is not used yet, so there is no code generated to fill its members
  3544. return base;
  3545. }
  3546. // -----------------------------------------------------------------------------------------------------------
  3547. template <> size_t GenericFill<IfcStructuralCurveConnection>(const DB& db, const LIST& params, IfcStructuralCurveConnection* in)
  3548. {
  3549. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  3550. // this data structure is not used yet, so there is no code generated to fill its members
  3551. return base;
  3552. }
  3553. // -----------------------------------------------------------------------------------------------------------
  3554. template <> size_t GenericFill<IfcProjectionElement>(const DB& db, const LIST& params, IfcProjectionElement* in)
  3555. {
  3556. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementAddition*>(in));
  3557. // this data structure is not used yet, so there is no code generated to fill its members
  3558. return base;
  3559. }
  3560. // -----------------------------------------------------------------------------------------------------------
  3561. template <> size_t GenericFill<IfcCoveringType>(const DB& db, const LIST& params, IfcCoveringType* in)
  3562. {
  3563. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3564. // this data structure is not used yet, so there is no code generated to fill its members
  3565. return base;
  3566. }
  3567. // -----------------------------------------------------------------------------------------------------------
  3568. template <> size_t GenericFill<IfcPumpType>(const DB& db, const LIST& params, IfcPumpType* in)
  3569. {
  3570. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3571. // this data structure is not used yet, so there is no code generated to fill its members
  3572. return base;
  3573. }
  3574. // -----------------------------------------------------------------------------------------------------------
  3575. template <> size_t GenericFill<IfcPile>(const DB& db, const LIST& params, IfcPile* in)
  3576. {
  3577. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3578. // this data structure is not used yet, so there is no code generated to fill its members
  3579. return base;
  3580. }
  3581. // -----------------------------------------------------------------------------------------------------------
  3582. template <> size_t GenericFill<IfcUnitAssignment>(const DB& db, const LIST& params, IfcUnitAssignment* in)
  3583. {
  3584. size_t base = 0;
  3585. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcUnitAssignment"); } do { // convert the 'Units' argument
  3586. const DataType* arg = params[base++];
  3587. try { GenericConvert( in->Units, *arg, db ); break; }
  3588. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcUnitAssignment to be a `SET [1:?] OF IfcUnit`")); }
  3589. } while(0);
  3590. return base;
  3591. }
  3592. // -----------------------------------------------------------------------------------------------------------
  3593. template <> size_t GenericFill<IfcBoundingBox>(const DB& db, const LIST& params, IfcBoundingBox* in)
  3594. {
  3595. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3596. // this data structure is not used yet, so there is no code generated to fill its members
  3597. return base;
  3598. }
  3599. // -----------------------------------------------------------------------------------------------------------
  3600. template <> size_t GenericFill<IfcShellBasedSurfaceModel>(const DB& db, const LIST& params, IfcShellBasedSurfaceModel* in)
  3601. {
  3602. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3603. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcShellBasedSurfaceModel"); } do { // convert the 'SbsmBoundary' argument
  3604. const DataType* arg = params[base++];
  3605. try { GenericConvert( in->SbsmBoundary, *arg, db ); break; }
  3606. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcShellBasedSurfaceModel to be a `SET [1:?] OF IfcShell`")); }
  3607. } while(0);
  3608. return base;
  3609. }
  3610. // -----------------------------------------------------------------------------------------------------------
  3611. template <> size_t GenericFill<IfcFacetedBrep>(const DB& db, const LIST& params, IfcFacetedBrep* in)
  3612. {
  3613. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  3614. // this data structure is not used yet, so there is no code generated to fill its members
  3615. return base;
  3616. }
  3617. // -----------------------------------------------------------------------------------------------------------
  3618. template <> size_t GenericFill<IfcTextLiteralWithExtent>(const DB& db, const LIST& params, IfcTextLiteralWithExtent* in)
  3619. {
  3620. size_t base = GenericFill(db,params,static_cast<IfcTextLiteral*>(in));
  3621. // this data structure is not used yet, so there is no code generated to fill its members
  3622. return base;
  3623. }
  3624. // -----------------------------------------------------------------------------------------------------------
  3625. template <> size_t GenericFill<IfcElectricApplianceType>(const DB& db, const LIST& params, IfcElectricApplianceType* in)
  3626. {
  3627. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3628. // this data structure is not used yet, so there is no code generated to fill its members
  3629. return base;
  3630. }
  3631. // -----------------------------------------------------------------------------------------------------------
  3632. template <> size_t GenericFill<IfcTrapeziumProfileDef>(const DB& db, const LIST& params, IfcTrapeziumProfileDef* in)
  3633. {
  3634. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3635. // this data structure is not used yet, so there is no code generated to fill its members
  3636. return base;
  3637. }
  3638. // -----------------------------------------------------------------------------------------------------------
  3639. template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db, const LIST& params, IfcRelContainedInSpatialStructure* in)
  3640. {
  3641. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  3642. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
  3643. const DataType* arg = params[base++];
  3644. try { GenericConvert( in->RelatedElements, *arg, db ); break; }
  3645. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
  3646. } while(0);
  3647. do { // convert the 'RelatingStructure' argument
  3648. const DataType* arg = params[base++];
  3649. try { GenericConvert( in->RelatingStructure, *arg, db ); break; }
  3650. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelContainedInSpatialStructure to be a `IfcSpatialStructureElement`")); }
  3651. } while(0);
  3652. return base;
  3653. }
  3654. // -----------------------------------------------------------------------------------------------------------
  3655. template <> size_t GenericFill<IfcEdgeLoop>(const DB& db, const LIST& params, IfcEdgeLoop* in)
  3656. {
  3657. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3658. // this data structure is not used yet, so there is no code generated to fill its members
  3659. return base;
  3660. }
  3661. // -----------------------------------------------------------------------------------------------------------
  3662. template <> size_t GenericFill<IfcProject>(const DB& db, const LIST& params, IfcProject* in)
  3663. {
  3664. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3665. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcProject"); } do { // convert the 'LongName' argument
  3666. const DataType* arg = params[base++];
  3667. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3668. try { GenericConvert( in->LongName, *arg, db ); break; }
  3669. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProject to be a `IfcLabel`")); }
  3670. } while(0);
  3671. do { // convert the 'Phase' argument
  3672. const DataType* arg = params[base++];
  3673. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3674. try { GenericConvert( in->Phase, *arg, db ); break; }
  3675. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProject to be a `IfcLabel`")); }
  3676. } while(0);
  3677. do { // convert the 'RepresentationContexts' argument
  3678. const DataType* arg = params[base++];
  3679. try { GenericConvert( in->RepresentationContexts, *arg, db ); break; }
  3680. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcProject to be a `SET [1:?] OF IfcRepresentationContext`")); }
  3681. } while(0);
  3682. do { // convert the 'UnitsInContext' argument
  3683. const DataType* arg = params[base++];
  3684. try { GenericConvert( in->UnitsInContext, *arg, db ); break; }
  3685. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcProject to be a `IfcUnitAssignment`")); }
  3686. } while(0);
  3687. return base;
  3688. }
  3689. // -----------------------------------------------------------------------------------------------------------
  3690. template <> size_t GenericFill<IfcCartesianPoint>(const DB& db, const LIST& params, IfcCartesianPoint* in)
  3691. {
  3692. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3693. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcCartesianPoint"); } do { // convert the 'Coordinates' argument
  3694. const DataType* arg = params[base++];
  3695. try { GenericConvert( in->Coordinates, *arg, db ); break; }
  3696. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianPoint to be a `LIST [1:3] OF IfcLengthMeasure`")); }
  3697. } while(0);
  3698. return base;
  3699. }
  3700. // -----------------------------------------------------------------------------------------------------------
  3701. template <> size_t GenericFill<IfcCurveBoundedPlane>(const DB& db, const LIST& params, IfcCurveBoundedPlane* in)
  3702. {
  3703. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  3704. // this data structure is not used yet, so there is no code generated to fill its members
  3705. return base;
  3706. }
  3707. // -----------------------------------------------------------------------------------------------------------
  3708. template <> size_t GenericFill<IfcWallType>(const DB& db, const LIST& params, IfcWallType* in)
  3709. {
  3710. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3711. // this data structure is not used yet, so there is no code generated to fill its members
  3712. return base;
  3713. }
  3714. // -----------------------------------------------------------------------------------------------------------
  3715. template <> size_t GenericFill<IfcFillAreaStyleHatching>(const DB& db, const LIST& params, IfcFillAreaStyleHatching* in)
  3716. {
  3717. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3718. // this data structure is not used yet, so there is no code generated to fill its members
  3719. return base;
  3720. }
  3721. // -----------------------------------------------------------------------------------------------------------
  3722. template <> size_t GenericFill<IfcEquipmentStandard>(const DB& db, const LIST& params, IfcEquipmentStandard* in)
  3723. {
  3724. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3725. // this data structure is not used yet, so there is no code generated to fill its members
  3726. return base;
  3727. }
  3728. // -----------------------------------------------------------------------------------------------------------
  3729. template <> size_t GenericFill<IfcDiameterDimension>(const DB& db, const LIST& params, IfcDiameterDimension* in)
  3730. {
  3731. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  3732. // this data structure is not used yet, so there is no code generated to fill its members
  3733. return base;
  3734. }
  3735. // -----------------------------------------------------------------------------------------------------------
  3736. template <> size_t GenericFill<IfcStructuralLoadGroup>(const DB& db, const LIST& params, IfcStructuralLoadGroup* in)
  3737. {
  3738. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3739. // this data structure is not used yet, so there is no code generated to fill its members
  3740. return base;
  3741. }
  3742. // -----------------------------------------------------------------------------------------------------------
  3743. template <> size_t GenericFill<IfcConstructionMaterialResource>(const DB& db, const LIST& params, IfcConstructionMaterialResource* in)
  3744. {
  3745. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3746. // this data structure is not used yet, so there is no code generated to fill its members
  3747. return base;
  3748. }
  3749. // -----------------------------------------------------------------------------------------------------------
  3750. template <> size_t GenericFill<IfcRelAggregates>(const DB& db, const LIST& params, IfcRelAggregates* in)
  3751. {
  3752. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  3753. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelAggregates"); } return base;
  3754. }
  3755. // -----------------------------------------------------------------------------------------------------------
  3756. template <> size_t GenericFill<IfcBoilerType>(const DB& db, const LIST& params, IfcBoilerType* in)
  3757. {
  3758. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3759. // this data structure is not used yet, so there is no code generated to fill its members
  3760. return base;
  3761. }
  3762. // -----------------------------------------------------------------------------------------------------------
  3763. template <> size_t GenericFill<IfcColourSpecification>(const DB& db, const LIST& params, IfcColourSpecification* in)
  3764. {
  3765. size_t base = 0;
  3766. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcColourSpecification"); } do { // convert the 'Name' argument
  3767. const DataType* arg = params[base++];
  3768. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcColourSpecification,1>::aux_is_derived[0]=true; break; }
  3769. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3770. try { GenericConvert( in->Name, *arg, db ); break; }
  3771. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcColourSpecification to be a `IfcLabel`")); }
  3772. } while(0);
  3773. return base;
  3774. }
  3775. // -----------------------------------------------------------------------------------------------------------
  3776. template <> size_t GenericFill<IfcColourRgb>(const DB& db, const LIST& params, IfcColourRgb* in)
  3777. {
  3778. size_t base = GenericFill(db,params,static_cast<IfcColourSpecification*>(in));
  3779. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcColourRgb"); } do { // convert the 'Red' argument
  3780. const DataType* arg = params[base++];
  3781. try { GenericConvert( in->Red, *arg, db ); break; }
  3782. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  3783. } while(0);
  3784. do { // convert the 'Green' argument
  3785. const DataType* arg = params[base++];
  3786. try { GenericConvert( in->Green, *arg, db ); break; }
  3787. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  3788. } while(0);
  3789. do { // convert the 'Blue' argument
  3790. const DataType* arg = params[base++];
  3791. try { GenericConvert( in->Blue, *arg, db ); break; }
  3792. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  3793. } while(0);
  3794. return base;
  3795. }
  3796. // -----------------------------------------------------------------------------------------------------------
  3797. template <> size_t GenericFill<IfcDoorStyle>(const DB& db, const LIST& params, IfcDoorStyle* in)
  3798. {
  3799. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  3800. // this data structure is not used yet, so there is no code generated to fill its members
  3801. return base;
  3802. }
  3803. // -----------------------------------------------------------------------------------------------------------
  3804. template <> size_t GenericFill<IfcDuctSilencerType>(const DB& db, const LIST& params, IfcDuctSilencerType* in)
  3805. {
  3806. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3807. // this data structure is not used yet, so there is no code generated to fill its members
  3808. return base;
  3809. }
  3810. // -----------------------------------------------------------------------------------------------------------
  3811. template <> size_t GenericFill<IfcLightSourceGoniometric>(const DB& db, const LIST& params, IfcLightSourceGoniometric* in)
  3812. {
  3813. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3814. // this data structure is not used yet, so there is no code generated to fill its members
  3815. return base;
  3816. }
  3817. // -----------------------------------------------------------------------------------------------------------
  3818. template <> size_t GenericFill<IfcActuatorType>(const DB& db, const LIST& params, IfcActuatorType* in)
  3819. {
  3820. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  3821. // this data structure is not used yet, so there is no code generated to fill its members
  3822. return base;
  3823. }
  3824. // -----------------------------------------------------------------------------------------------------------
  3825. template <> size_t GenericFill<IfcSensorType>(const DB& db, const LIST& params, IfcSensorType* in)
  3826. {
  3827. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  3828. // this data structure is not used yet, so there is no code generated to fill its members
  3829. return base;
  3830. }
  3831. // -----------------------------------------------------------------------------------------------------------
  3832. template <> size_t GenericFill<IfcAirTerminalBoxType>(const DB& db, const LIST& params, IfcAirTerminalBoxType* in)
  3833. {
  3834. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3835. // this data structure is not used yet, so there is no code generated to fill its members
  3836. return base;
  3837. }
  3838. // -----------------------------------------------------------------------------------------------------------
  3839. template <> size_t GenericFill<IfcAnnotationSurfaceOccurrence>(const DB& db, const LIST& params, IfcAnnotationSurfaceOccurrence* in)
  3840. {
  3841. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  3842. // this data structure is not used yet, so there is no code generated to fill its members
  3843. return base;
  3844. }
  3845. // -----------------------------------------------------------------------------------------------------------
  3846. template <> size_t GenericFill<IfcZShapeProfileDef>(const DB& db, const LIST& params, IfcZShapeProfileDef* in)
  3847. {
  3848. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3849. // this data structure is not used yet, so there is no code generated to fill its members
  3850. return base;
  3851. }
  3852. // -----------------------------------------------------------------------------------------------------------
  3853. template <> size_t GenericFill<IfcRationalBezierCurve>(const DB& db, const LIST& params, IfcRationalBezierCurve* in)
  3854. {
  3855. size_t base = GenericFill(db,params,static_cast<IfcBezierCurve*>(in));
  3856. // this data structure is not used yet, so there is no code generated to fill its members
  3857. return base;
  3858. }
  3859. // -----------------------------------------------------------------------------------------------------------
  3860. template <> size_t GenericFill<IfcCartesianTransformationOperator2D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2D* in)
  3861. {
  3862. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  3863. // this data structure is not used yet, so there is no code generated to fill its members
  3864. return base;
  3865. }
  3866. // -----------------------------------------------------------------------------------------------------------
  3867. template <> size_t GenericFill<IfcCartesianTransformationOperator2DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2DnonUniform* in)
  3868. {
  3869. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator2D*>(in));
  3870. // this data structure is not used yet, so there is no code generated to fill its members
  3871. return base;
  3872. }
  3873. // -----------------------------------------------------------------------------------------------------------
  3874. template <> size_t GenericFill<IfcMove>(const DB& db, const LIST& params, IfcMove* in)
  3875. {
  3876. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  3877. // this data structure is not used yet, so there is no code generated to fill its members
  3878. return base;
  3879. }
  3880. // -----------------------------------------------------------------------------------------------------------
  3881. template <> size_t GenericFill<IfcCableCarrierSegmentType>(const DB& db, const LIST& params, IfcCableCarrierSegmentType* in)
  3882. {
  3883. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3884. // this data structure is not used yet, so there is no code generated to fill its members
  3885. return base;
  3886. }
  3887. // -----------------------------------------------------------------------------------------------------------
  3888. template <> size_t GenericFill<IfcElectricalElement>(const DB& db, const LIST& params, IfcElectricalElement* in)
  3889. {
  3890. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3891. // this data structure is not used yet, so there is no code generated to fill its members
  3892. return base;
  3893. }
  3894. // -----------------------------------------------------------------------------------------------------------
  3895. template <> size_t GenericFill<IfcChillerType>(const DB& db, const LIST& params, IfcChillerType* in)
  3896. {
  3897. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3898. // this data structure is not used yet, so there is no code generated to fill its members
  3899. return base;
  3900. }
  3901. // -----------------------------------------------------------------------------------------------------------
  3902. template <> size_t GenericFill<IfcReinforcingBar>(const DB& db, const LIST& params, IfcReinforcingBar* in)
  3903. {
  3904. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3905. // this data structure is not used yet, so there is no code generated to fill its members
  3906. return base;
  3907. }
  3908. // -----------------------------------------------------------------------------------------------------------
  3909. template <> size_t GenericFill<IfcCShapeProfileDef>(const DB& db, const LIST& params, IfcCShapeProfileDef* in)
  3910. {
  3911. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3912. // this data structure is not used yet, so there is no code generated to fill its members
  3913. return base;
  3914. }
  3915. // -----------------------------------------------------------------------------------------------------------
  3916. template <> size_t GenericFill<IfcPermit>(const DB& db, const LIST& params, IfcPermit* in)
  3917. {
  3918. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3919. // this data structure is not used yet, so there is no code generated to fill its members
  3920. return base;
  3921. }
  3922. // -----------------------------------------------------------------------------------------------------------
  3923. template <> size_t GenericFill<IfcSlabType>(const DB& db, const LIST& params, IfcSlabType* in)
  3924. {
  3925. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3926. // this data structure is not used yet, so there is no code generated to fill its members
  3927. return base;
  3928. }
  3929. // -----------------------------------------------------------------------------------------------------------
  3930. template <> size_t GenericFill<IfcLampType>(const DB& db, const LIST& params, IfcLampType* in)
  3931. {
  3932. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3933. // this data structure is not used yet, so there is no code generated to fill its members
  3934. return base;
  3935. }
  3936. // -----------------------------------------------------------------------------------------------------------
  3937. template <> size_t GenericFill<IfcPlanarExtent>(const DB& db, const LIST& params, IfcPlanarExtent* in)
  3938. {
  3939. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3940. // this data structure is not used yet, so there is no code generated to fill its members
  3941. return base;
  3942. }
  3943. // -----------------------------------------------------------------------------------------------------------
  3944. template <> size_t GenericFill<IfcAlarmType>(const DB& db, const LIST& params, IfcAlarmType* in)
  3945. {
  3946. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  3947. // this data structure is not used yet, so there is no code generated to fill its members
  3948. return base;
  3949. }
  3950. // -----------------------------------------------------------------------------------------------------------
  3951. template <> size_t GenericFill<IfcElectricFlowStorageDeviceType>(const DB& db, const LIST& params, IfcElectricFlowStorageDeviceType* in)
  3952. {
  3953. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  3954. // this data structure is not used yet, so there is no code generated to fill its members
  3955. return base;
  3956. }
  3957. // -----------------------------------------------------------------------------------------------------------
  3958. template <> size_t GenericFill<IfcEquipmentElement>(const DB& db, const LIST& params, IfcEquipmentElement* in)
  3959. {
  3960. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3961. // this data structure is not used yet, so there is no code generated to fill its members
  3962. return base;
  3963. }
  3964. // -----------------------------------------------------------------------------------------------------------
  3965. template <> size_t GenericFill<IfcLightFixtureType>(const DB& db, const LIST& params, IfcLightFixtureType* in)
  3966. {
  3967. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3968. // this data structure is not used yet, so there is no code generated to fill its members
  3969. return base;
  3970. }
  3971. // -----------------------------------------------------------------------------------------------------------
  3972. template <> size_t GenericFill<IfcCurtainWall>(const DB& db, const LIST& params, IfcCurtainWall* in)
  3973. {
  3974. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3975. // this data structure is not used yet, so there is no code generated to fill its members
  3976. return base;
  3977. }
  3978. // -----------------------------------------------------------------------------------------------------------
  3979. template <> size_t GenericFill<IfcSlab>(const DB& db, const LIST& params, IfcSlab* in)
  3980. {
  3981. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3982. // this data structure is not used yet, so there is no code generated to fill its members
  3983. return base;
  3984. }
  3985. // -----------------------------------------------------------------------------------------------------------
  3986. template <> size_t GenericFill<IfcCurtainWallType>(const DB& db, const LIST& params, IfcCurtainWallType* in)
  3987. {
  3988. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3989. // this data structure is not used yet, so there is no code generated to fill its members
  3990. return base;
  3991. }
  3992. // -----------------------------------------------------------------------------------------------------------
  3993. template <> size_t GenericFill<IfcOutletType>(const DB& db, const LIST& params, IfcOutletType* in)
  3994. {
  3995. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3996. // this data structure is not used yet, so there is no code generated to fill its members
  3997. return base;
  3998. }
  3999. // -----------------------------------------------------------------------------------------------------------
  4000. template <> size_t GenericFill<IfcCompressorType>(const DB& db, const LIST& params, IfcCompressorType* in)
  4001. {
  4002. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  4003. // this data structure is not used yet, so there is no code generated to fill its members
  4004. return base;
  4005. }
  4006. // -----------------------------------------------------------------------------------------------------------
  4007. template <> size_t GenericFill<IfcCraneRailAShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailAShapeProfileDef* in)
  4008. {
  4009. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4010. // this data structure is not used yet, so there is no code generated to fill its members
  4011. return base;
  4012. }
  4013. // -----------------------------------------------------------------------------------------------------------
  4014. template <> size_t GenericFill<IfcFlowSegment>(const DB& db, const LIST& params, IfcFlowSegment* in)
  4015. {
  4016. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4017. // this data structure is not used yet, so there is no code generated to fill its members
  4018. return base;
  4019. }
  4020. // -----------------------------------------------------------------------------------------------------------
  4021. template <> size_t GenericFill<IfcSectionedSpine>(const DB& db, const LIST& params, IfcSectionedSpine* in)
  4022. {
  4023. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4024. // this data structure is not used yet, so there is no code generated to fill its members
  4025. return base;
  4026. }
  4027. // -----------------------------------------------------------------------------------------------------------
  4028. template <> size_t GenericFill<IfcElectricTimeControlType>(const DB& db, const LIST& params, IfcElectricTimeControlType* in)
  4029. {
  4030. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4031. // this data structure is not used yet, so there is no code generated to fill its members
  4032. return base;
  4033. }
  4034. // -----------------------------------------------------------------------------------------------------------
  4035. template <> size_t GenericFill<IfcFaceSurface>(const DB& db, const LIST& params, IfcFaceSurface* in)
  4036. {
  4037. size_t base = GenericFill(db,params,static_cast<IfcFace*>(in));
  4038. // this data structure is not used yet, so there is no code generated to fill its members
  4039. return base;
  4040. }
  4041. // -----------------------------------------------------------------------------------------------------------
  4042. template <> size_t GenericFill<IfcMotorConnectionType>(const DB& db, const LIST& params, IfcMotorConnectionType* in)
  4043. {
  4044. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4045. // this data structure is not used yet, so there is no code generated to fill its members
  4046. return base;
  4047. }
  4048. // -----------------------------------------------------------------------------------------------------------
  4049. template <> size_t GenericFill<IfcFlowFitting>(const DB& db, const LIST& params, IfcFlowFitting* in)
  4050. {
  4051. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4052. // this data structure is not used yet, so there is no code generated to fill its members
  4053. return base;
  4054. }
  4055. // -----------------------------------------------------------------------------------------------------------
  4056. template <> size_t GenericFill<IfcPointOnCurve>(const DB& db, const LIST& params, IfcPointOnCurve* in)
  4057. {
  4058. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4059. // this data structure is not used yet, so there is no code generated to fill its members
  4060. return base;
  4061. }
  4062. // -----------------------------------------------------------------------------------------------------------
  4063. template <> size_t GenericFill<IfcTransportElementType>(const DB& db, const LIST& params, IfcTransportElementType* in)
  4064. {
  4065. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  4066. // this data structure is not used yet, so there is no code generated to fill its members
  4067. return base;
  4068. }
  4069. // -----------------------------------------------------------------------------------------------------------
  4070. template <> size_t GenericFill<IfcCableSegmentType>(const DB& db, const LIST& params, IfcCableSegmentType* in)
  4071. {
  4072. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4073. // this data structure is not used yet, so there is no code generated to fill its members
  4074. return base;
  4075. }
  4076. // -----------------------------------------------------------------------------------------------------------
  4077. template <> size_t GenericFill<IfcAnnotationSurface>(const DB& db, const LIST& params, IfcAnnotationSurface* in)
  4078. {
  4079. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4080. // this data structure is not used yet, so there is no code generated to fill its members
  4081. return base;
  4082. }
  4083. // -----------------------------------------------------------------------------------------------------------
  4084. template <> size_t GenericFill<IfcCompositeCurveSegment>(const DB& db, const LIST& params, IfcCompositeCurveSegment* in)
  4085. {
  4086. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4087. // this data structure is not used yet, so there is no code generated to fill its members
  4088. return base;
  4089. }
  4090. // -----------------------------------------------------------------------------------------------------------
  4091. template <> size_t GenericFill<IfcServiceLife>(const DB& db, const LIST& params, IfcServiceLife* in)
  4092. {
  4093. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4094. // this data structure is not used yet, so there is no code generated to fill its members
  4095. return base;
  4096. }
  4097. // -----------------------------------------------------------------------------------------------------------
  4098. template <> size_t GenericFill<IfcPlateType>(const DB& db, const LIST& params, IfcPlateType* in)
  4099. {
  4100. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4101. // this data structure is not used yet, so there is no code generated to fill its members
  4102. return base;
  4103. }
  4104. // -----------------------------------------------------------------------------------------------------------
  4105. template <> size_t GenericFill<IfcVibrationIsolatorType>(const DB& db, const LIST& params, IfcVibrationIsolatorType* in)
  4106. {
  4107. size_t base = GenericFill(db,params,static_cast<IfcDiscreteAccessoryType*>(in));
  4108. // this data structure is not used yet, so there is no code generated to fill its members
  4109. return base;
  4110. }
  4111. // -----------------------------------------------------------------------------------------------------------
  4112. template <> size_t GenericFill<IfcTrimmedCurve>(const DB& db, const LIST& params, IfcTrimmedCurve* in)
  4113. {
  4114. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4115. // this data structure is not used yet, so there is no code generated to fill its members
  4116. return base;
  4117. }
  4118. // -----------------------------------------------------------------------------------------------------------
  4119. template <> size_t GenericFill<IfcMappedItem>(const DB& db, const LIST& params, IfcMappedItem* in)
  4120. {
  4121. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  4122. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMappedItem"); } do { // convert the 'MappingSource' argument
  4123. const DataType* arg = params[base++];
  4124. try { GenericConvert( in->MappingSource, *arg, db ); break; }
  4125. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMappedItem to be a `IfcRepresentationMap`")); }
  4126. } while(0);
  4127. do { // convert the 'MappingTarget' argument
  4128. const DataType* arg = params[base++];
  4129. try { GenericConvert( in->MappingTarget, *arg, db ); break; }
  4130. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMappedItem to be a `IfcCartesianTransformationOperator`")); }
  4131. } while(0);
  4132. return base;
  4133. }
  4134. // -----------------------------------------------------------------------------------------------------------
  4135. template <> size_t GenericFill<IfcDirection>(const DB& db, const LIST& params, IfcDirection* in)
  4136. {
  4137. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4138. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcDirection"); } do { // convert the 'DirectionRatios' argument
  4139. const DataType* arg = params[base++];
  4140. try { GenericConvert( in->DirectionRatios, *arg, db ); break; }
  4141. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcDirection to be a `LIST [2:3] OF REAL`")); }
  4142. } while(0);
  4143. return base;
  4144. }
  4145. // -----------------------------------------------------------------------------------------------------------
  4146. template <> size_t GenericFill<IfcBlock>(const DB& db, const LIST& params, IfcBlock* in)
  4147. {
  4148. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4149. // this data structure is not used yet, so there is no code generated to fill its members
  4150. return base;
  4151. }
  4152. // -----------------------------------------------------------------------------------------------------------
  4153. template <> size_t GenericFill<IfcProjectOrderRecord>(const DB& db, const LIST& params, IfcProjectOrderRecord* in)
  4154. {
  4155. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4156. // this data structure is not used yet, so there is no code generated to fill its members
  4157. return base;
  4158. }
  4159. // -----------------------------------------------------------------------------------------------------------
  4160. template <> size_t GenericFill<IfcFlowMeterType>(const DB& db, const LIST& params, IfcFlowMeterType* in)
  4161. {
  4162. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4163. // this data structure is not used yet, so there is no code generated to fill its members
  4164. return base;
  4165. }
  4166. // -----------------------------------------------------------------------------------------------------------
  4167. template <> size_t GenericFill<IfcControllerType>(const DB& db, const LIST& params, IfcControllerType* in)
  4168. {
  4169. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4170. // this data structure is not used yet, so there is no code generated to fill its members
  4171. return base;
  4172. }
  4173. // -----------------------------------------------------------------------------------------------------------
  4174. template <> size_t GenericFill<IfcBeam>(const DB& db, const LIST& params, IfcBeam* in)
  4175. {
  4176. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4177. // this data structure is not used yet, so there is no code generated to fill its members
  4178. return base;
  4179. }
  4180. // -----------------------------------------------------------------------------------------------------------
  4181. template <> size_t GenericFill<IfcArbitraryOpenProfileDef>(const DB& db, const LIST& params, IfcArbitraryOpenProfileDef* in)
  4182. {
  4183. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  4184. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryOpenProfileDef"); } do { // convert the 'Curve' argument
  4185. const DataType* arg = params[base++];
  4186. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryOpenProfileDef,1>::aux_is_derived[0]=true; break; }
  4187. try { GenericConvert( in->Curve, *arg, db ); break; }
  4188. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryOpenProfileDef to be a `IfcBoundedCurve`")); }
  4189. } while(0);
  4190. return base;
  4191. }
  4192. // -----------------------------------------------------------------------------------------------------------
  4193. template <> size_t GenericFill<IfcCenterLineProfileDef>(const DB& db, const LIST& params, IfcCenterLineProfileDef* in)
  4194. {
  4195. size_t base = GenericFill(db,params,static_cast<IfcArbitraryOpenProfileDef*>(in));
  4196. // this data structure is not used yet, so there is no code generated to fill its members
  4197. return base;
  4198. }
  4199. // -----------------------------------------------------------------------------------------------------------
  4200. template <> size_t GenericFill<IfcTimeSeriesSchedule>(const DB& db, const LIST& params, IfcTimeSeriesSchedule* in)
  4201. {
  4202. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4203. // this data structure is not used yet, so there is no code generated to fill its members
  4204. return base;
  4205. }
  4206. // -----------------------------------------------------------------------------------------------------------
  4207. template <> size_t GenericFill<IfcRoundedEdgeFeature>(const DB& db, const LIST& params, IfcRoundedEdgeFeature* in)
  4208. {
  4209. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  4210. // this data structure is not used yet, so there is no code generated to fill its members
  4211. return base;
  4212. }
  4213. // -----------------------------------------------------------------------------------------------------------
  4214. template <> size_t GenericFill<IfcIShapeProfileDef>(const DB& db, const LIST& params, IfcIShapeProfileDef* in)
  4215. {
  4216. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4217. // this data structure is not used yet, so there is no code generated to fill its members
  4218. return base;
  4219. }
  4220. // -----------------------------------------------------------------------------------------------------------
  4221. template <> size_t GenericFill<IfcSpaceHeaterType>(const DB& db, const LIST& params, IfcSpaceHeaterType* in)
  4222. {
  4223. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4224. // this data structure is not used yet, so there is no code generated to fill its members
  4225. return base;
  4226. }
  4227. // -----------------------------------------------------------------------------------------------------------
  4228. template <> size_t GenericFill<IfcFlowStorageDevice>(const DB& db, const LIST& params, IfcFlowStorageDevice* in)
  4229. {
  4230. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4231. // this data structure is not used yet, so there is no code generated to fill its members
  4232. return base;
  4233. }
  4234. // -----------------------------------------------------------------------------------------------------------
  4235. template <> size_t GenericFill<IfcRevolvedAreaSolid>(const DB& db, const LIST& params, IfcRevolvedAreaSolid* in)
  4236. {
  4237. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4238. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRevolvedAreaSolid"); } do { // convert the 'Axis' argument
  4239. const DataType* arg = params[base++];
  4240. try { GenericConvert( in->Axis, *arg, db ); break; }
  4241. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRevolvedAreaSolid to be a `IfcAxis1Placement`")); }
  4242. } while(0);
  4243. do { // convert the 'Angle' argument
  4244. const DataType* arg = params[base++];
  4245. try { GenericConvert( in->Angle, *arg, db ); break; }
  4246. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRevolvedAreaSolid to be a `IfcPlaneAngleMeasure`")); }
  4247. } while(0);
  4248. return base;
  4249. }
  4250. // -----------------------------------------------------------------------------------------------------------
  4251. template <> size_t GenericFill<IfcDoor>(const DB& db, const LIST& params, IfcDoor* in)
  4252. {
  4253. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4254. if (params.GetSize() < 10) { throw STEP::TypeError("expected 10 arguments to IfcDoor"); } do { // convert the 'OverallHeight' argument
  4255. const DataType* arg = params[base++];
  4256. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4257. try { GenericConvert( in->OverallHeight, *arg, db ); break; }
  4258. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  4259. } while(0);
  4260. do { // convert the 'OverallWidth' argument
  4261. const DataType* arg = params[base++];
  4262. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4263. try { GenericConvert( in->OverallWidth, *arg, db ); break; }
  4264. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  4265. } while(0);
  4266. return base;
  4267. }
  4268. // -----------------------------------------------------------------------------------------------------------
  4269. template <> size_t GenericFill<IfcEllipse>(const DB& db, const LIST& params, IfcEllipse* in)
  4270. {
  4271. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  4272. // this data structure is not used yet, so there is no code generated to fill its members
  4273. return base;
  4274. }
  4275. // -----------------------------------------------------------------------------------------------------------
  4276. template <> size_t GenericFill<IfcTubeBundleType>(const DB& db, const LIST& params, IfcTubeBundleType* in)
  4277. {
  4278. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4279. // this data structure is not used yet, so there is no code generated to fill its members
  4280. return base;
  4281. }
  4282. // -----------------------------------------------------------------------------------------------------------
  4283. template <> size_t GenericFill<IfcAngularDimension>(const DB& db, const LIST& params, IfcAngularDimension* in)
  4284. {
  4285. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  4286. // this data structure is not used yet, so there is no code generated to fill its members
  4287. return base;
  4288. }
  4289. // -----------------------------------------------------------------------------------------------------------
  4290. template <> size_t GenericFill<IfcFaceBasedSurfaceModel>(const DB& db, const LIST& params, IfcFaceBasedSurfaceModel* in)
  4291. {
  4292. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4293. // this data structure is not used yet, so there is no code generated to fill its members
  4294. return base;
  4295. }
  4296. // -----------------------------------------------------------------------------------------------------------
  4297. template <> size_t GenericFill<IfcCraneRailFShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailFShapeProfileDef* in)
  4298. {
  4299. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4300. // this data structure is not used yet, so there is no code generated to fill its members
  4301. return base;
  4302. }
  4303. // -----------------------------------------------------------------------------------------------------------
  4304. template <> size_t GenericFill<IfcColumnType>(const DB& db, const LIST& params, IfcColumnType* in)
  4305. {
  4306. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4307. // this data structure is not used yet, so there is no code generated to fill its members
  4308. return base;
  4309. }
  4310. // -----------------------------------------------------------------------------------------------------------
  4311. template <> size_t GenericFill<IfcTShapeProfileDef>(const DB& db, const LIST& params, IfcTShapeProfileDef* in)
  4312. {
  4313. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4314. // this data structure is not used yet, so there is no code generated to fill its members
  4315. return base;
  4316. }
  4317. // -----------------------------------------------------------------------------------------------------------
  4318. template <> size_t GenericFill<IfcEnergyConversionDevice>(const DB& db, const LIST& params, IfcEnergyConversionDevice* in)
  4319. {
  4320. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4321. // this data structure is not used yet, so there is no code generated to fill its members
  4322. return base;
  4323. }
  4324. // -----------------------------------------------------------------------------------------------------------
  4325. template <> size_t GenericFill<IfcWorkSchedule>(const DB& db, const LIST& params, IfcWorkSchedule* in)
  4326. {
  4327. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  4328. // this data structure is not used yet, so there is no code generated to fill its members
  4329. return base;
  4330. }
  4331. // -----------------------------------------------------------------------------------------------------------
  4332. template <> size_t GenericFill<IfcZone>(const DB& db, const LIST& params, IfcZone* in)
  4333. {
  4334. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4335. // this data structure is not used yet, so there is no code generated to fill its members
  4336. return base;
  4337. }
  4338. // -----------------------------------------------------------------------------------------------------------
  4339. template <> size_t GenericFill<IfcTransportElement>(const DB& db, const LIST& params, IfcTransportElement* in)
  4340. {
  4341. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4342. // this data structure is not used yet, so there is no code generated to fill its members
  4343. return base;
  4344. }
  4345. // -----------------------------------------------------------------------------------------------------------
  4346. template <> size_t GenericFill<IfcGeometricRepresentationSubContext>(const DB& db, const LIST& params, IfcGeometricRepresentationSubContext* in)
  4347. {
  4348. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationContext*>(in));
  4349. // this data structure is not used yet, so there is no code generated to fill its members
  4350. return base;
  4351. }
  4352. // -----------------------------------------------------------------------------------------------------------
  4353. template <> size_t GenericFill<IfcLShapeProfileDef>(const DB& db, const LIST& params, IfcLShapeProfileDef* in)
  4354. {
  4355. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4356. // this data structure is not used yet, so there is no code generated to fill its members
  4357. return base;
  4358. }
  4359. // -----------------------------------------------------------------------------------------------------------
  4360. template <> size_t GenericFill<IfcGeometricCurveSet>(const DB& db, const LIST& params, IfcGeometricCurveSet* in)
  4361. {
  4362. size_t base = GenericFill(db,params,static_cast<IfcGeometricSet*>(in));
  4363. // this data structure is not used yet, so there is no code generated to fill its members
  4364. return base;
  4365. }
  4366. // -----------------------------------------------------------------------------------------------------------
  4367. template <> size_t GenericFill<IfcActor>(const DB& db, const LIST& params, IfcActor* in)
  4368. {
  4369. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  4370. // this data structure is not used yet, so there is no code generated to fill its members
  4371. return base;
  4372. }
  4373. // -----------------------------------------------------------------------------------------------------------
  4374. template <> size_t GenericFill<IfcOccupant>(const DB& db, const LIST& params, IfcOccupant* in)
  4375. {
  4376. size_t base = GenericFill(db,params,static_cast<IfcActor*>(in));
  4377. // this data structure is not used yet, so there is no code generated to fill its members
  4378. return base;
  4379. }
  4380. // -----------------------------------------------------------------------------------------------------------
  4381. template <> size_t GenericFill<IfcBooleanClippingResult>(const DB& db, const LIST& params, IfcBooleanClippingResult* in)
  4382. {
  4383. size_t base = GenericFill(db,params,static_cast<IfcBooleanResult*>(in));
  4384. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanClippingResult"); } return base;
  4385. }
  4386. // -----------------------------------------------------------------------------------------------------------
  4387. template <> size_t GenericFill<IfcAnnotationFillArea>(const DB& db, const LIST& params, IfcAnnotationFillArea* in)
  4388. {
  4389. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4390. // this data structure is not used yet, so there is no code generated to fill its members
  4391. return base;
  4392. }
  4393. // -----------------------------------------------------------------------------------------------------------
  4394. template <> size_t GenericFill<IfcLightSourceSpot>(const DB& db, const LIST& params, IfcLightSourceSpot* in)
  4395. {
  4396. size_t base = GenericFill(db,params,static_cast<IfcLightSourcePositional*>(in));
  4397. // this data structure is not used yet, so there is no code generated to fill its members
  4398. return base;
  4399. }
  4400. // -----------------------------------------------------------------------------------------------------------
  4401. template <> size_t GenericFill<IfcFireSuppressionTerminalType>(const DB& db, const LIST& params, IfcFireSuppressionTerminalType* in)
  4402. {
  4403. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4404. // this data structure is not used yet, so there is no code generated to fill its members
  4405. return base;
  4406. }
  4407. // -----------------------------------------------------------------------------------------------------------
  4408. template <> size_t GenericFill<IfcElectricGeneratorType>(const DB& db, const LIST& params, IfcElectricGeneratorType* in)
  4409. {
  4410. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4411. // this data structure is not used yet, so there is no code generated to fill its members
  4412. return base;
  4413. }
  4414. // -----------------------------------------------------------------------------------------------------------
  4415. template <> size_t GenericFill<IfcInventory>(const DB& db, const LIST& params, IfcInventory* in)
  4416. {
  4417. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4418. // this data structure is not used yet, so there is no code generated to fill its members
  4419. return base;
  4420. }
  4421. // -----------------------------------------------------------------------------------------------------------
  4422. template <> size_t GenericFill<IfcPolyline>(const DB& db, const LIST& params, IfcPolyline* in)
  4423. {
  4424. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4425. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyline"); } do { // convert the 'Points' argument
  4426. const DataType* arg = params[base++];
  4427. try { GenericConvert( in->Points, *arg, db ); break; }
  4428. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyline to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  4429. } while(0);
  4430. return base;
  4431. }
  4432. // -----------------------------------------------------------------------------------------------------------
  4433. template <> size_t GenericFill<IfcBoxedHalfSpace>(const DB& db, const LIST& params, IfcBoxedHalfSpace* in)
  4434. {
  4435. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  4436. // this data structure is not used yet, so there is no code generated to fill its members
  4437. return base;
  4438. }
  4439. // -----------------------------------------------------------------------------------------------------------
  4440. template <> size_t GenericFill<IfcAirTerminalType>(const DB& db, const LIST& params, IfcAirTerminalType* in)
  4441. {
  4442. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4443. // this data structure is not used yet, so there is no code generated to fill its members
  4444. return base;
  4445. }
  4446. // -----------------------------------------------------------------------------------------------------------
  4447. template <> size_t GenericFill<IfcDistributionPort>(const DB& db, const LIST& params, IfcDistributionPort* in)
  4448. {
  4449. size_t base = GenericFill(db,params,static_cast<IfcPort*>(in));
  4450. // this data structure is not used yet, so there is no code generated to fill its members
  4451. return base;
  4452. }
  4453. // -----------------------------------------------------------------------------------------------------------
  4454. template <> size_t GenericFill<IfcCostItem>(const DB& db, const LIST& params, IfcCostItem* in)
  4455. {
  4456. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4457. // this data structure is not used yet, so there is no code generated to fill its members
  4458. return base;
  4459. }
  4460. // -----------------------------------------------------------------------------------------------------------
  4461. template <> size_t GenericFill<IfcStructuredDimensionCallout>(const DB& db, const LIST& params, IfcStructuredDimensionCallout* in)
  4462. {
  4463. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  4464. // this data structure is not used yet, so there is no code generated to fill its members
  4465. return base;
  4466. }
  4467. // -----------------------------------------------------------------------------------------------------------
  4468. template <> size_t GenericFill<IfcStructuralResultGroup>(const DB& db, const LIST& params, IfcStructuralResultGroup* in)
  4469. {
  4470. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4471. // this data structure is not used yet, so there is no code generated to fill its members
  4472. return base;
  4473. }
  4474. // -----------------------------------------------------------------------------------------------------------
  4475. template <> size_t GenericFill<IfcOrientedEdge>(const DB& db, const LIST& params, IfcOrientedEdge* in)
  4476. {
  4477. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  4478. // this data structure is not used yet, so there is no code generated to fill its members
  4479. return base;
  4480. }
  4481. // -----------------------------------------------------------------------------------------------------------
  4482. template <> size_t GenericFill<IfcCsgSolid>(const DB& db, const LIST& params, IfcCsgSolid* in)
  4483. {
  4484. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  4485. // this data structure is not used yet, so there is no code generated to fill its members
  4486. return base;
  4487. }
  4488. // -----------------------------------------------------------------------------------------------------------
  4489. template <> size_t GenericFill<IfcPlanarBox>(const DB& db, const LIST& params, IfcPlanarBox* in)
  4490. {
  4491. size_t base = GenericFill(db,params,static_cast<IfcPlanarExtent*>(in));
  4492. // this data structure is not used yet, so there is no code generated to fill its members
  4493. return base;
  4494. }
  4495. // -----------------------------------------------------------------------------------------------------------
  4496. template <> size_t GenericFill<IfcMaterialDefinitionRepresentation>(const DB& db, const LIST& params, IfcMaterialDefinitionRepresentation* in)
  4497. {
  4498. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4499. // this data structure is not used yet, so there is no code generated to fill its members
  4500. return base;
  4501. }
  4502. // -----------------------------------------------------------------------------------------------------------
  4503. template <> size_t GenericFill<IfcAsymmetricIShapeProfileDef>(const DB& db, const LIST& params, IfcAsymmetricIShapeProfileDef* in)
  4504. {
  4505. size_t base = GenericFill(db,params,static_cast<IfcIShapeProfileDef*>(in));
  4506. // this data structure is not used yet, so there is no code generated to fill its members
  4507. return base;
  4508. }
  4509. // -----------------------------------------------------------------------------------------------------------
  4510. template <> size_t GenericFill<IfcRepresentationMap>(const DB& db, const LIST& params, IfcRepresentationMap* in)
  4511. {
  4512. size_t base = 0;
  4513. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationMap"); } do { // convert the 'MappingOrigin' argument
  4514. const DataType* arg = params[base++];
  4515. try { GenericConvert( in->MappingOrigin, *arg, db ); break; }
  4516. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationMap to be a `IfcAxis2Placement`")); }
  4517. } while(0);
  4518. do { // convert the 'MappedRepresentation' argument
  4519. const DataType* arg = params[base++];
  4520. try { GenericConvert( in->MappedRepresentation, *arg, db ); break; }
  4521. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationMap to be a `IfcRepresentation`")); }
  4522. } while(0);
  4523. return base;
  4524. }
  4525. } // ! STEP
  4526. } // ! Assimp
  4527. #endif