<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, <NAME>
// Copyright (c) 2015, ELM Library Project
// 3-clause BSD License
//
//M*/
#ifndef _ELM_CORE_VISITORCLOUD__H_
#define _ELM_CORE_VISITORCLOUD__H_

#ifdef __WITH_PCL // the following visitor derived template class definitions require PCL support

#include "elm/core/pcl/cloud_.h"
#include "elm/core/pcl/cloud_2cloud_.h"
#include "elm/core/pcl/vertices.h"
#include "elm/core/cv/typedefs_fwd.h"
#include "elm/core/typedefs_sfwd.h"
#include "elm/core/visitors/visitor_.h"

namespace elm {

/**
 * @brief A template visitor class for converting to pcl point clouds,
 * and keeping track of when a heavy conversion (involving deep copy) occured
 *
 * Requires PCL support.
 */
template <class TPointDst>
class VisitorCloud_ :
        public Visitor_<boost::shared_ptr<pcl::PointCloud<TPointDst > > >
{
public:
    typedef boost::shared_ptr<pcl::PointCloud<TPointDst > > CloudTPDstPtr;

    void Reset() {
<commit_msg>add extern template instantiations for point cloud types<commit_after>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, <NAME>
// Copyright (c) 2015, ELM Library Project
// 3-clause BSD License
//
//M*/
#ifndef _ELM_CORE_VISITORCLOUD__H_
#define _ELM_CORE_VISITORCLOUD__H_

#ifdef __WITH_PCL // the following visitor derived template class definitions require PCL support

#include "elm/core/pcl/cloud_.h"
#include "elm/core/pcl/cloud_2cloud_.h"
#include "elm/core/pcl/vertices.h"
#include "elm/core/cv/typedefs_fwd.h"
#include "elm/core/typedefs_sfwd.h"
#include "elm/core/visitors/visitor_.h"

extern template class pcl::PointCloud<pcl::PointXYZ >;
extern template class pcl::PointCloud<pcl::Normal >;
extern template class pcl::PointCloud<pcl::PointNormal >;

extern template class boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ > >;
extern template class boost::shared_ptr<pcl::PointCloud<pcl::Normal > >;
extern template class boost::shared_ptr<pcl::PointCloud<pcl::PointNormal > >;

namespace elm {

/**
 * @brief A template visitor class for converting to pcl point clouds,
 * and keeping track of when a heavy conversion (involving deep copy) occured
 *
 * Requires PCL support.
 */
template <class TPointDst>
class VisitorCloud_ :
        public Visitor_<boost::shared_ptr<pcl::PointCloud<TPointDst > > >
{
public:
    typedef boost::shared_ptr<pcl::PointCloud<TPointDst > > CloudTPDstPtr;

    void Reset() {

{'fraction_non_alphanumeric': 0.18131651556957035, 'fraction_numerical': 0.007883326763894364, 'mean_word_length': 3.4920353982300885, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4999637', 'n_tokens_mistral': 855, 'n_tokens_neox': 819, 'n_words': 199}