wrench::ImageLayer

class ImageLayer

A class that implements the notion of an image layer for containers.

Public Functions

unsigned long getCreationId() const

Retrieve the layer’s creation ID.

Returns:

the creation ID

sg_size_t getDiskFootprint() const
Returns:

The image’s disk footprint

std::shared_ptr<DataFile> getFile() const
Returns:

The image file

std::shared_ptr<FileLocation> getLocation() const

Get the image’s file location.

Returns:

a location

std::string getName() const

Get the image’s name.

Returns:

a name

std::shared_ptr<DataFile> getRAMFile() const
Returns:

The image RAM space (as a file)

sg_size_t getRAMFootprint() const

Get the image’s RAM footprint.

Returns:

a number of bytes