KiCad PCB EDA Suite
CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNORDER Struct Reference

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNORDER:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

void Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override
 

Public Attributes

long ID
 
long Order
 

Detailed Description

Definition at line 685 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse()

void CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNORDER::Parse ( XNODE aNode,
PARSER_CONTEXT aContext 
)
overridevirtual

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 1051 of file cadstar_archive_parser.cpp.

1052 {
1053  wxASSERT( aNode->GetName() == wxT( "COLUMNORDER" ) );
1054 
1055  ID = GetXmlAttributeIDLong( aNode, 0 );
1056  Order = GetXmlAttributeIDLong( aNode, 1 );
1057 
1058  CheckNoChildNodes( aNode );
1059 }
static void CheckNoChildNodes(XNODE *aNode)
static long GetXmlAttributeIDLong(XNODE *aNode, unsigned int aID, bool aIsRequired=true)

References CADSTAR_ARCHIVE_PARSER::CheckNoChildNodes(), and CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong().

Referenced by CADSTAR_ARCHIVE_PARSER::ATTRNAME::Parse().

Member Data Documentation

◆ ID

long CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNORDER::ID

Definition at line 687 of file cadstar_archive_parser.h.

◆ Order

long CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNORDER::Order

Definition at line 688 of file cadstar_archive_parser.h.


The documentation for this struct was generated from the following files: