| 1 | /******************************************************************************* |
| 2 | * Project: libopencad |
| 3 | * Purpose: OpenSource CAD formats support library |
| 4 | * Author: Alexandr Borzykh, mush3d at gmail.com |
| 5 | * Author: Dmitry Baryshnikov, [email protected] |
| 6 | * Language: C++ |
| 7 | ******************************************************************************* |
| 8 | * The MIT License (MIT) |
| 9 | * |
| 10 | * Copyright (c) 2016 Alexandr Borzykh |
| 11 | * Copyright (c) 2016 NextGIS, <[email protected]> |
| 12 | * |
| 13 | * SPDX-License-Identifier: MIT |
| 14 | ******************************************************************************/ |
| 15 | #include "cadfileio.h"cxx . . $ `<file>/ogr/ogrsf_frmts/cad/libopencad/cadfileio.h`/ |
| 16 | |
| 17 | CADFileIOcxx . . $ CADFileIO#::CADFileIOcxx . . $ CADFileIO#CADFileIO(85c52e162fed56f9).( const char * pszFileName ) : |
| 18 | m_soFilePathcxx . . $ CADFileIO#m_soFilePath.( pszFileName), |
| 19 | m_bIsOpenedcxx . . $ CADFileIO#m_bIsOpened. (false) |
| 20 | { |
| 21 | } |
| 22 | |
| 23 | CADFileIOcxx . . $ CADFileIO#::~cxx . . $ CADFileIO#`~CADFileIO`(ced63f7c635d850d).CADFileIOcxx . . $ CADFileIO#() |
| 24 | { |
| 25 | } |
| 26 | |
| 27 | bool CADFileIOcxx . . $ CADFileIO#::IsOpenedcxx . . $ CADFileIO#IsOpened(50ce9a9e25b4a850).() const |
| 28 | { |
| 29 | return m_bIsOpenedcxx . . $ CADFileIO#m_bIsOpened.; |
| 30 | } |
| 31 | |
| 32 | bool CADFileIOcxx . . $ CADFileIO#::Closecxx . . $ CADFileIO#Close(c9857a73d68e59ba).() |
| 33 | { |
| 34 | m_bIsOpenedcxx . . $ CADFileIO#m_bIsOpened. = false; |
| 35 | return true; |
| 36 | } |
| 37 | |
| 38 | const char * CADFileIOcxx . . $ CADFileIO#::GetFilePathcxx . . $ CADFileIO#GetFilePath(a9f41ea0e82d88cf).() const |
| 39 | { |
| 40 | return m_soFilePathcxx . . $ CADFileIO#m_soFilePath..c_strcxx . . $ std/__cxx11/basic_string#c_str(8e614c7de0b1573e).(); |
| 41 | } |