2018-08-23 21:54:42 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013-2017 CERN
|
2021-06-08 17:47:06 +00:00
|
|
|
* Copyright (C) 2021 KiCad Developers, see AUTHORS.txt for contributors.
|
2018-08-23 21:54:42 +00:00
|
|
|
* @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
|
|
|
* @author Maciej Suminski <maciej.suminski@cern.ch>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <view/view.h>
|
|
|
|
#include <view/view_item.h>
|
|
|
|
#include <view/view_overlay.h>
|
|
|
|
#include <gal/graphics_abstraction_layer.h>
|
2023-09-07 00:23:19 +00:00
|
|
|
#include <gal/painter.h>
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
#include <geometry/seg.h>
|
|
|
|
|
|
|
|
namespace KIGFX {
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
virtual ~COMMAND() {};
|
|
|
|
virtual void Execute( VIEW* aView ) const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_LINE : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_LINE( const VECTOR2D& aP0, const VECTOR2D& aP1 ) :
|
|
|
|
m_p0( aP0 ),
|
2018-08-27 15:36:18 +00:00
|
|
|
m_p1( aP1 ) {}
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->DrawLine( m_p0, m_p1 );
|
|
|
|
}
|
|
|
|
|
2018-08-27 15:36:18 +00:00
|
|
|
VECTOR2D m_p0;
|
|
|
|
VECTOR2D m_p1;
|
2018-08-23 21:54:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2018-12-11 09:25:24 +00:00
|
|
|
struct VIEW_OVERLAY::COMMAND_RECTANGLE : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_RECTANGLE( const VECTOR2D& aP0, const VECTOR2D& aP1 ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_p0( aP0 ),
|
|
|
|
m_p1( aP1 )
|
|
|
|
{ }
|
2018-12-11 09:25:24 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->DrawRectangle( m_p0, m_p1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
VECTOR2D m_p0;
|
|
|
|
VECTOR2D m_p1;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2018-08-23 21:54:42 +00:00
|
|
|
struct VIEW_OVERLAY::COMMAND_CIRCLE : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_CIRCLE( const VECTOR2D& aCenter, double aRadius ) :
|
|
|
|
m_center(aCenter),
|
2021-10-03 12:58:56 +00:00
|
|
|
m_radius(aRadius)
|
|
|
|
{ }
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->DrawCircle( m_center, m_radius );
|
|
|
|
}
|
|
|
|
|
|
|
|
VECTOR2D m_center;
|
|
|
|
double m_radius;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_ARC : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
2022-01-16 16:15:07 +00:00
|
|
|
COMMAND_ARC( const VECTOR2D& aCenter, double aRadius, const EDA_ANGLE& aStartAngle,
|
|
|
|
const EDA_ANGLE& aEndAngle ) :
|
2018-08-27 15:36:18 +00:00
|
|
|
m_center( aCenter ),
|
2018-10-09 15:03:43 +00:00
|
|
|
m_radius( aRadius ),
|
2018-08-23 21:54:42 +00:00
|
|
|
m_startAngle( aStartAngle ),
|
2018-10-09 15:03:43 +00:00
|
|
|
m_endAngle( aEndAngle )
|
2018-09-18 13:45:52 +00:00
|
|
|
{ }
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
2023-08-22 13:06:53 +00:00
|
|
|
aView->GetGAL()->DrawArc( m_center, m_radius, m_startAngle, m_endAngle - m_startAngle );
|
2018-08-23 21:54:42 +00:00
|
|
|
}
|
|
|
|
|
2022-01-16 16:15:07 +00:00
|
|
|
VECTOR2D m_center;
|
|
|
|
double m_radius;
|
|
|
|
EDA_ANGLE m_startAngle;
|
|
|
|
EDA_ANGLE m_endAngle;
|
2018-08-23 21:54:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2018-12-11 09:25:24 +00:00
|
|
|
struct VIEW_OVERLAY::COMMAND_POLYGON : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_POLYGON( const std::deque<VECTOR2D>& aPointList ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_pointList( aPointList )
|
|
|
|
{ }
|
2018-12-11 09:25:24 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->DrawPolygon( m_pointList );
|
|
|
|
}
|
|
|
|
|
|
|
|
std::deque<VECTOR2D> m_pointList;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_POLY_POLYGON : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_POLY_POLYGON( const SHAPE_POLY_SET& aPolySet ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_polySet( aPolySet )
|
|
|
|
{ }
|
2018-12-11 09:25:24 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->DrawPolygon( m_polySet );
|
|
|
|
}
|
|
|
|
|
|
|
|
SHAPE_POLY_SET m_polySet;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_POINT_POLYGON : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_POINT_POLYGON( const VECTOR2D aPointList[], int aListSize )
|
|
|
|
{
|
|
|
|
m_pointList.reserve( aListSize );
|
|
|
|
|
|
|
|
for( int ii = 0; ii < aListSize; ii++ )
|
|
|
|
m_pointList.push_back( aPointList[ii] );
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->DrawPolygon( &m_pointList[0], (int)m_pointList.size() );
|
|
|
|
}
|
|
|
|
|
|
|
|
std::vector<VECTOR2D> m_pointList;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2018-08-23 21:54:42 +00:00
|
|
|
struct VIEW_OVERLAY::COMMAND_SET_STROKE : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_SET_STROKE( bool aIsStroke ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_isStroke( aIsStroke )
|
|
|
|
{ }
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->SetIsStroke( m_isStroke );
|
|
|
|
}
|
|
|
|
|
|
|
|
bool m_isStroke;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_SET_FILL : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_SET_FILL( bool aIsFill ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_isFill( aIsFill )
|
|
|
|
{ }
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->SetIsFill( m_isFill );
|
|
|
|
}
|
|
|
|
|
|
|
|
bool m_isFill;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_SET_COLOR : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_SET_COLOR( bool aIsStroke, const COLOR4D& aColor ) :
|
|
|
|
m_isStroke( aIsStroke ),
|
2021-10-03 12:58:56 +00:00
|
|
|
m_color( aColor )
|
|
|
|
{ }
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
if( m_isStroke )
|
|
|
|
aView->GetGAL()->SetStrokeColor( m_color );
|
|
|
|
else
|
|
|
|
aView->GetGAL()->SetFillColor( m_color );
|
|
|
|
}
|
|
|
|
|
2021-10-03 12:58:56 +00:00
|
|
|
bool m_isStroke;
|
|
|
|
COLOR4D m_color;
|
2018-08-23 21:54:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_SET_WIDTH : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
|
|
|
COMMAND_SET_WIDTH( double aWidth ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_width( aWidth )
|
|
|
|
{ }
|
2018-08-23 21:54:42 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->SetLineWidth( m_width );
|
|
|
|
}
|
|
|
|
|
|
|
|
double m_width;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-02-11 22:05:03 +00:00
|
|
|
struct VIEW_OVERLAY::COMMAND_GLYPH_SIZE : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
2022-01-11 13:47:21 +00:00
|
|
|
COMMAND_GLYPH_SIZE( const VECTOR2I aSize ) :
|
2021-10-03 12:58:56 +00:00
|
|
|
m_size( aSize )
|
|
|
|
{ };
|
2021-02-11 22:05:03 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->SetGlyphSize( m_size );
|
|
|
|
}
|
|
|
|
|
2022-01-11 13:47:21 +00:00
|
|
|
VECTOR2I m_size;
|
2021-02-11 22:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct VIEW_OVERLAY::COMMAND_BITMAP_TEXT : public VIEW_OVERLAY::COMMAND
|
|
|
|
{
|
2022-01-11 13:47:21 +00:00
|
|
|
COMMAND_BITMAP_TEXT( const wxString& aText, const VECTOR2I& aPosition,
|
|
|
|
const EDA_ANGLE& aAngle ) :
|
2021-02-11 22:05:03 +00:00
|
|
|
m_text( aText ),
|
|
|
|
m_pos( aPosition ),
|
2022-01-11 13:47:21 +00:00
|
|
|
m_angle( aAngle )
|
2021-10-03 12:58:56 +00:00
|
|
|
{ }
|
2021-02-11 22:05:03 +00:00
|
|
|
|
|
|
|
virtual void Execute( VIEW* aView ) const override
|
|
|
|
{
|
|
|
|
aView->GetGAL()->BitmapText( m_text, m_pos, m_angle );
|
|
|
|
}
|
|
|
|
|
2022-01-11 13:47:21 +00:00
|
|
|
wxString m_text;
|
|
|
|
VECTOR2I m_pos;
|
|
|
|
EDA_ANGLE m_angle;
|
2021-02-11 22:05:03 +00:00
|
|
|
};
|
|
|
|
|
2018-08-23 21:54:42 +00:00
|
|
|
VIEW_OVERLAY::VIEW_OVERLAY()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
VIEW_OVERLAY::~VIEW_OVERLAY()
|
|
|
|
{
|
|
|
|
releaseCommands();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::releaseCommands()
|
|
|
|
{
|
2021-10-03 12:58:56 +00:00
|
|
|
for( VIEW_OVERLAY::COMMAND* cmd : m_commands )
|
2018-08-23 21:54:42 +00:00
|
|
|
delete cmd;
|
|
|
|
|
|
|
|
m_commands.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Clear()
|
|
|
|
{
|
|
|
|
releaseCommands();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const BOX2I VIEW_OVERLAY::ViewBBox() const
|
|
|
|
{
|
|
|
|
BOX2I maxBox;
|
|
|
|
|
|
|
|
maxBox.SetMaximum();
|
|
|
|
return maxBox;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::ViewDraw( int aLayer, VIEW* aView ) const
|
|
|
|
{
|
2022-02-23 23:08:36 +00:00
|
|
|
auto gal = aView->GetGAL();
|
|
|
|
gal->PushDepth();
|
|
|
|
gal->SetLayerDepth( gal->GetMinDepth() );
|
|
|
|
|
2021-10-03 12:58:56 +00:00
|
|
|
for( const VIEW_OVERLAY::COMMAND* cmd : m_commands )
|
2018-08-23 21:54:42 +00:00
|
|
|
cmd->Execute( aView );
|
2022-02-23 23:08:36 +00:00
|
|
|
|
|
|
|
gal->PopDepth();
|
2018-08-23 21:54:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::ViewGetLayers( int aLayers[], int& aCount ) const
|
|
|
|
{
|
|
|
|
aLayers[0] = LAYER_GP_OVERLAY;
|
|
|
|
aCount = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Line( const VECTOR2D& aStartPoint, const VECTOR2D& aEndPoint )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_LINE( aStartPoint, aEndPoint ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Line( const SEG& aSeg )
|
|
|
|
{
|
|
|
|
Line( aSeg.A, aSeg.B );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Segment( const VECTOR2D& aStartPoint, const VECTOR2D& aEndPoint, double aWidth )
|
|
|
|
{
|
2018-12-11 09:25:24 +00:00
|
|
|
SetLineWidth( aWidth );
|
|
|
|
Line( aStartPoint, aEndPoint );
|
2018-08-23 21:54:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-02-11 22:05:03 +00:00
|
|
|
void VIEW_OVERLAY::Polyline( const SHAPE_LINE_CHAIN& aPolyLine )
|
|
|
|
{
|
|
|
|
SetIsStroke( true );
|
|
|
|
SetIsFill( false );
|
2021-10-03 12:58:56 +00:00
|
|
|
|
2021-02-11 22:05:03 +00:00
|
|
|
for( int i = 0; i < aPolyLine.SegmentCount(); i++ )
|
|
|
|
Line( aPolyLine.CSegment( i ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-12-11 09:25:24 +00:00
|
|
|
void VIEW_OVERLAY::Polygon( const SHAPE_POLY_SET& aPolySet )
|
2018-08-23 21:54:42 +00:00
|
|
|
{
|
2018-12-11 09:25:24 +00:00
|
|
|
m_commands.push_back( new COMMAND_POLY_POLYGON( aPolySet ) );
|
2018-08-23 21:54:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Polygon( const std::deque<VECTOR2D>& aPointList )
|
|
|
|
{
|
2018-12-11 09:25:24 +00:00
|
|
|
m_commands.push_back( new COMMAND_POLYGON( aPointList ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Polygon( const VECTOR2D aPointList[], int aListSize )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_POINT_POLYGON( aPointList, aListSize ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Circle( const VECTOR2D& aCenterPoint, double aRadius )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_CIRCLE( aCenterPoint, aRadius ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-01-16 16:15:07 +00:00
|
|
|
void VIEW_OVERLAY::Arc( const VECTOR2D& aCenterPoint, double aRadius, const EDA_ANGLE& aStartAngle,
|
|
|
|
const EDA_ANGLE& aEndAngle )
|
2018-12-11 09:25:24 +00:00
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_ARC( aCenterPoint, aRadius, aStartAngle, aEndAngle ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::Rectangle( const VECTOR2D& aStartPoint, const VECTOR2D& aEndPoint )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_RECTANGLE( aStartPoint, aEndPoint ) );
|
2018-08-23 21:54:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::SetIsFill( bool aIsFillEnabled )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_SET_FILL( aIsFillEnabled ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-01-11 13:47:21 +00:00
|
|
|
void VIEW_OVERLAY::SetGlyphSize( const VECTOR2I& aSize )
|
2021-02-11 22:05:03 +00:00
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_GLYPH_SIZE( aSize ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-01-11 13:47:21 +00:00
|
|
|
void VIEW_OVERLAY::BitmapText( const wxString& aText, const VECTOR2I& aPosition,
|
|
|
|
const EDA_ANGLE& aAngle )
|
2021-02-11 22:05:03 +00:00
|
|
|
{
|
2022-01-11 13:47:21 +00:00
|
|
|
m_commands.push_back( new COMMAND_BITMAP_TEXT( aText, aPosition, aAngle ) );
|
2021-02-11 22:05:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-08-23 21:54:42 +00:00
|
|
|
void VIEW_OVERLAY::SetIsStroke( bool aIsStrokeEnabled )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_SET_STROKE( aIsStrokeEnabled ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::SetFillColor( const COLOR4D& aColor )
|
|
|
|
{
|
2021-05-30 22:15:16 +00:00
|
|
|
m_fillColor = aColor;
|
2018-08-23 21:54:42 +00:00
|
|
|
m_commands.push_back( new COMMAND_SET_COLOR( false, aColor ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::SetStrokeColor( const COLOR4D& aColor )
|
|
|
|
{
|
2021-05-30 22:15:16 +00:00
|
|
|
m_strokeColor = aColor;
|
2018-08-23 21:54:42 +00:00
|
|
|
m_commands.push_back( new COMMAND_SET_COLOR( true, aColor ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
void VIEW_OVERLAY::SetLineWidth( double aLineWidth )
|
|
|
|
{
|
|
|
|
m_commands.push_back( new COMMAND_SET_WIDTH( aLineWidth ) );
|
|
|
|
}
|
|
|
|
|
2020-10-07 12:59:06 +00:00
|
|
|
void VIEW_OVERLAY::Cross( const VECTOR2D& aP, int aSize )
|
|
|
|
{
|
|
|
|
Line( aP + VECTOR2D( -aSize, -aSize ), aP + VECTOR2D( aSize, aSize ) );
|
|
|
|
Line( aP + VECTOR2D( aSize, -aSize ), aP + VECTOR2D( -aSize, aSize ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-08-23 21:54:42 +00:00
|
|
|
} // namespace
|