blob: dbe4ca5376ffbe103c6a96a648818c13cd35df0b [file] [log] [blame]
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2013, Regents of the University of California
* Yingdi Yu
*
* BSD license, See the LICENSE file for more information
*
* Author: Yingdi Yu <yingdi@cs.ucla.edu>
*/
#ifndef LINKNDN_PROFILE_DATA_H
#define LINKNDN_PROFILE_DATA_H
#include <ndn-cpp/data.hpp>
#include "profile.h"
class ProfileData : public ndn::Data
{
public:
ProfileData();
ProfileData(const Profile& profile);
// ProfileData(const ProfileData& profileData);
ProfileData(const ndn::Data& data);
~ProfileData() {}
const ndn::Name&
getIdentityName() const
{ return m_identity; }
const Profile&
getProfile() const
{ return m_profile; }
private:
ndn::Name m_identity;
Profile m_profile;
};
#endif