The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
image::locator::value Struct Reference

Public Member Functions

 value ()
 
 value (const char *filename)
 
 value (const std::string &filename)
 
 value (const std::string &filename, const std::string &modifications)
 
 value (const std::string &filename, const map_location &loc, int center_x, int center_y, const std::string &modifications)
 
bool operator== (const value &a) const
 
bool operator< (const value &a) const
 

Public Attributes

type type_
 
bool is_data_uri_
 
std::string filename_
 
map_location loc_
 
std::string modifications_
 
int center_x_
 
int center_y_
 

Detailed Description

Definition at line 42 of file picture.hpp.

Constructor & Destructor Documentation

◆ value() [1/5]

image::locator::value::value ( )

Definition at line 352 of file picture.cpp.

◆ value() [2/5]

image::locator::value::value ( const char *  filename)

Definition at line 363 of file picture.cpp.

◆ value() [3/5]

image::locator::value::value ( const std::string &  filename)

Definition at line 374 of file picture.cpp.

◆ value() [4/5]

image::locator::value::value ( const std::string &  filename,
const std::string &  modifications 
)

Definition at line 385 of file picture.cpp.

◆ value() [5/5]

image::locator::value::value ( const std::string &  filename,
const map_location loc,
int  center_x,
int  center_y,
const std::string &  modifications 
)

Definition at line 396 of file picture.cpp.

Member Function Documentation

◆ operator<()

bool image::locator::value::operator< ( const value a) const

◆ operator==()

bool image::locator::value::operator== ( const value a) const

Member Data Documentation

◆ center_x_

int image::locator::value::center_x_

◆ center_y_

int image::locator::value::center_y_

◆ filename_

std::string image::locator::value::filename_

◆ is_data_uri_

bool image::locator::value::is_data_uri_

Definition at line 53 of file picture.hpp.

Referenced by image::locator::file_exists(), and image::locator::is_data_uri().

◆ loc_

map_location image::locator::value::loc_

◆ modifications_

std::string image::locator::value::modifications_

◆ type_

type image::locator::value::type_

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