text: //----------------------------------------------------------------------------
  //
  // TSDuck - The MPEG Transport Stream Toolkit
  // Copyright (c) 2005-2021, Thierry Lelegard
  // All rights reserved.
  //
  // Redistribution and use in source and binary forms, with or without
  // modification, are permitted provided that the following conditions are met:
  //
  // 1. Redistributions of source code must retain the above copyright notice,
  //    this list of conditions and the following disclaimer.
  // 2. Redistributions in binary form must reproduce the above copyright
  //    notice, this list of conditions and the following disclaimer in the
  //    documentation and/or other materials provided with the distribution.
  //
  // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  // THE POSSIBILITY OF SUCH DAMAGE.
  //
  //----------------------------------------------------------------------------
  
  #include "tsTSDT.h"
  #include "tsBinaryTable.h"
  #include "tsPSIRepository.h"
  #include "tsDuckContext.h"
  
  #define MY_XML_NAME u"TSDT"
  #define MY_CLASS ts::TSDT
  #define MY_TID ts::TID_TSDT
  #define MY_PID ts::PID_TSDT
  #define MY_STD ts::Standards::MPEG
  
  TS_REGISTER_TABLE(MY_CLASS, {MY_TID}, MY_STD, MY_XML_NAME, MY_CLASS::DisplaySection, nullptr, {MY_PID});
  
  
  //----------------------------------------------------------------------------
  // Constructors and destructors
  //----------------------------------------------------------------------------
  
  ts::TSDT::TSDT(uint8_t vers, bool cur) :
      AbstractDescriptorsTable(MY_TID, MY_XML_NAME, MY_STD, 0xFFFF, vers, cur)
  {
  }
  
  ts::TSDT::TSDT(DuckContext& duck, const BinaryTable& table) :
      AbstractDescriptorsTable(duck, MY_TID, MY_XML_NAME, MY_STD, table)
  {
  }
  
  ts::TSDT::TSDT(const ts::TSDT& other) :
      AbstractDescriptorsTable(other)
  {
  }
  
  ts::TSDT::~TSDT()
  {
  }
  
  
  //----------------------------------------------------------------------------
  // Inherited public methods
  //----------------------------------------------------------------------------
  
  bool ts::TSDT::isPrivate() const
  {
      return false; // MPEG-defined
  }
  