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

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNWIDTH:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

long ID
 
long Width
 

Detailed Description

Definition at line 694 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse()

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

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 1062 of file cadstar_archive_parser.cpp.

1063 {
1064  wxASSERT( aNode->GetName() == wxT( "COLUMNWIDTH" ) );
1065 
1066  ID = GetXmlAttributeIDLong( aNode, 0 );
1067  Width = GetXmlAttributeIDLong( aNode, 1 );
1068 
1069  CheckNoChildNodes( aNode );
1070 }
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::COLUMNWIDTH::ID

Definition at line 696 of file cadstar_archive_parser.h.

◆ Width

long CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNWIDTH::Width

Definition at line 697 of file cadstar_archive_parser.h.


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