Bridges-C++  3.4.4
Bridges(C++ API)
Public Member Functions | List of all members
bridges::dataset::MovieActorWikidata Class Reference

#include <MovieActorWikidata.h>

Detailed Description

This is a helper class for accessing actor-movie data from Wikidata.

Note that the end user will not create an object of that type in regular circumstances. But rather, ActorMovieWikidata objects are returned by bridges::DataSource::getWikidataActorMovie()

See also
Exemple of how to access that type of data is provided at: https://bridgesuncc.github.io/tutorials/Data_WikiDataActor.html
Author
Erik Saule
Date
12/28/20

Public Member Functions

 MovieActorWikidata ()
 
void setMovieURI (std::string mu)
 
void setActorURI (std::string au)
 
void setMovieName (std::string mn)
 
void setActorName (std::string an)
 
const std::string & getMovieURI () const
 
const std::string & getActorURI () const
 
const std::string & getMovieName () const
 
const std::string & getActorName () const
 

Constructor & Destructor Documentation

◆ MovieActorWikidata()

bridges::dataset::MovieActorWikidata::MovieActorWikidata ( )
inline

default constructor

Member Function Documentation

◆ getActorName()

const std::string& bridges::dataset::MovieActorWikidata::getActorName ( ) const
inline

get the actor name

Returns
actor name

◆ getActorURI()

const std::string& bridges::dataset::MovieActorWikidata::getActorURI ( ) const
inline

get the actor URI

Returns
actor uri

◆ getMovieName()

const std::string& bridges::dataset::MovieActorWikidata::getMovieName ( ) const
inline

get the movie name

Returns
movie name

◆ getMovieURI()

const std::string& bridges::dataset::MovieActorWikidata::getMovieURI ( ) const
inline

get the movie URI

Returns
movie uri

◆ setActorName()

void bridges::dataset::MovieActorWikidata::setActorName ( std::string  an)
inline

set the actor name

Parameters
anactor name to set

◆ setActorURI()

void bridges::dataset::MovieActorWikidata::setActorURI ( std::string  au)
inline

set the actor URI

Parameters
auactor uri to set

◆ setMovieName()

void bridges::dataset::MovieActorWikidata::setMovieName ( std::string  mn)
inline

set the movie name

Parameters
mnmovie name to set

◆ setMovieURI()

void bridges::dataset::MovieActorWikidata::setMovieURI ( std::string  mu)
inline

set the movie URI

Parameters
mumovie uri to set

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