|
|
|||
File indexing completed on 2026-09-12 09:17:52
0001 // Created on: 2001-09-12 0002 // Created by: Alexander GRIGORIEV 0003 // Copyright (c) 2001-2014 OPEN CASCADE SAS 0004 // 0005 // This file is part of Open CASCADE Technology software library. 0006 // 0007 // This library is free software; you can redistribute it and/or modify it under 0008 // the terms of the GNU Lesser General Public License version 2.1 as published 0009 // by the Free Software Foundation, with special exception defined in the file 0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0011 // distribution for complete text of the license and disclaimer of any warranty. 0012 // 0013 // Alternatively, this file may be used under the terms of Open CASCADE 0014 // commercial license or contractual agreement. 0015 0016 #ifndef LDOM_Comment_HeaderFile 0017 #define LDOM_Comment_HeaderFile 0018 0019 #include <LDOM_CharacterData.hxx> 0020 0021 // Class LDOM_Comment 0022 0023 class LDOM_Comment : public LDOM_CharacterData 0024 { 0025 public: 0026 // ---------- PUBLIC METHODS ---------- 0027 0028 LDOM_Comment() = default; 0029 0030 // Empty constructor 0031 0032 LDOM_Comment(const LDOM_Comment& theOther) 0033 0034 = default; 0035 0036 // Copy constructor 0037 0038 LDOM_Comment& operator=(const LDOM_NullPtr* theNull) 0039 { 0040 return (LDOM_Comment&)LDOM_CharacterData::operator=(theNull); 0041 } 0042 0043 // Nullify 0044 0045 LDOM_Comment& operator=(const LDOM_Comment& theOther) 0046 { 0047 return (LDOM_Comment&)LDOM_CharacterData::operator=(theOther); 0048 } 0049 0050 // Assignment 0051 0052 protected: 0053 friend class LDOM_Document; 0054 0055 // ---------- PROTECTED METHODS ---------- 0056 0057 LDOM_Comment(const LDOM_BasicText& theText, const occ::handle<LDOM_MemManager>& theDoc) 0058 : LDOM_CharacterData(theText, theDoc) 0059 { 0060 } 0061 }; 0062 0063 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|