Coverage Report

Created: 2026-02-09 06:40

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/wt/src/Wt/StdLayoutImpl.C
Line
Count
Source
1
/*
2
 * Copyright (C) 2008 Emweb bv, Herent, Belgium.
3
 *
4
 * See the LICENSE file for terms of use.
5
 */
6
7
#include "StdLayoutImpl.h"
8
9
#include "Wt/WContainerWidget.h"
10
#include "Wt/WLayout.h"
11
#include "Wt/WLayoutItem.h"
12
13
namespace Wt {
14
15
StdLayoutImpl::StdLayoutImpl(WLayout *layout)
16
0
  : layout_(layout)
17
0
{ }
18
19
StdLayoutImpl::~StdLayoutImpl()
20
0
{ }
21
22
WLayoutItem *StdLayoutImpl::layoutItem() const
23
0
{
24
0
  return layout_;
25
0
}
26
27
void StdLayoutImpl::update()
28
0
{
29
0
  WContainerWidget *c = container();
30
31
0
  if (c) {
32
0
    c->layoutChanged(false);
33
0
  }
34
0
}
35
36
void StdLayoutImpl::setObjectName(WT_MAYBE_UNUSED const std::string& name)
37
0
{ }
38
39
StdLayoutItemImpl *StdLayoutImpl::getImpl(WLayoutItem *item)
40
0
{
41
0
  return dynamic_cast<StdLayoutItemImpl *>(item->impl());
42
0
}
43
44
}