# cee::ug::DataSourceMerged

class `DataSourceMerged` : public DataSourceInterface

  A data source for an unstructured grid model that enabled merging of additional data sources.

  The main data source (specified upon construction) imposes the geometries on the ones added later on.

  Public Functions

  `DataSourceMerged`(int dataSourceId)

    Constructs and initializes an empty merged data source. Specify a unique id.

  `DataSourceMerged`(int dataSourceId, cee::ug::DataSourceInterface *mainDataSource)

    Constructs and initializes a merged data source.

    The given main data source imposes the geometries on the ones added later on.

    Specify a unique id for the merged data source.

  int `nextDataSourceId`() const

    Gets next unique id.

  bool `append`(cee::ug::DataSourceInterface *dataSource)

    Appends this data source to the main data source (specified in constructor)

  virtual bool `open`(const Str &filename, cee::ug::Error *error = NULL)

    Does nothing. Not supported by merged data source.

  virtual void `close`()

    Does nothing. Not supported by merged data source.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...