P2P File Share
A simple peer-to-peer file sharing system.
Loading...
Searching...
No Matches
file_id Struct Reference

The first string is the group id and the second string is the file name. More...

#include <file_id.hpp>

Public Member Functions

 file_id (const std::string &group_id, const std::string &file_name)
 
std::string to_string () const
 

Public Attributes

const std::string group_id
 
const std::string file_name
 

Friends

bool operator== (const file_id &lhs, const file_id &rhs)
 

Detailed Description

The first string is the group id and the second string is the file name.

Constructor & Destructor Documentation

◆ file_id()

file_id::file_id ( const std::string & group_id,
const std::string & file_name )
inline

Member Function Documentation

◆ to_string()

std::string file_id::to_string ( ) const
inline

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const file_id & lhs,
const file_id & rhs )
friend

Member Data Documentation

◆ file_name

const std::string file_id::file_name

◆ group_id

const std::string file_id::group_id

The documentation for this struct was generated from the following file: